mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
chore(animation): add any as type
This commit is contained in:
@ -788,7 +788,7 @@ export class Animation {
|
||||
return new AnimationClass(null, opts);
|
||||
}
|
||||
|
||||
static register(name: string, AnimationClass) {
|
||||
static register(name: string, AnimationClass: any) {
|
||||
AnimationRegistry[name] = AnimationClass;
|
||||
}
|
||||
|
||||
@ -826,4 +826,4 @@ const TRANSFORMS: any = {
|
||||
|
||||
const CSS_VALUE_REGEX = /(^-?\d*\.?\d*)(.*)/;
|
||||
|
||||
let AnimationRegistry = {};
|
||||
let AnimationRegistry: any = {};
|
||||
|
Reference in New Issue
Block a user