Allow animations to be set to false for the tooltip (#10582)

This commit is contained in:
Jacco van den Berg 2022-08-18 13:33:42 +02:00 committed by GitHub
parent c74260b745
commit dad1e98c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
types/index.d.ts vendored
View File

@ -2755,8 +2755,8 @@ export interface TooltipOptions<TType extends ChartType = ChartType> extends Cor
*/
textDirection: Scriptable<string, ScriptableTooltipContext<TType>>;
animation: AnimationSpec<TType>;
animations: AnimationsSpec<TType>;
animation: AnimationSpec<TType> | false;
animations: AnimationsSpec<TType> | false;
callbacks: TooltipCallbacks<TType>;
}