feat(animations): Update types for TypeScript nullability support
Closes #15870
This commit is contained in:

committed by
Hans Larsen

parent
04fb29b589
commit
38d75d410e
@ -2,6 +2,6 @@
|
||||
export declare abstract class AnimationDriver {
|
||||
abstract animate(element: any, keyframes: {
|
||||
[key: string]: string | number;
|
||||
}[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any;
|
||||
}[], duration: number, delay: number, easing?: string | null, previousPlayers?: any[]): any;
|
||||
static NOOP: AnimationDriver;
|
||||
}
|
||||
|
Reference in New Issue
Block a user