chore(animation): add any as type

This commit is contained in:
Adam Bradley
2016-06-08 12:20:25 -05:00
parent fd9cdc7490
commit d23c75a229

View File

@ -788,7 +788,7 @@ export class Animation {
return new AnimationClass(null, opts); return new AnimationClass(null, opts);
} }
static register(name: string, AnimationClass) { static register(name: string, AnimationClass: any) {
AnimationRegistry[name] = AnimationClass; AnimationRegistry[name] = AnimationClass;
} }
@ -826,4 +826,4 @@ const TRANSFORMS: any = {
const CSS_VALUE_REGEX = /(^-?\d*\.?\d*)(.*)/; const CSS_VALUE_REGEX = /(^-?\d*\.?\d*)(.*)/;
let AnimationRegistry = {}; let AnimationRegistry: any = {};