Added TS version specifier

This commit is contained in:
Andrew Babin
2017-08-21 17:12:51 -05:00
committed by GitHub
parent 1134bd3da8
commit b20f1eb1a5

View File

@@ -2,6 +2,7 @@
// Project: http://animejs.com
// Definitions by: Andrew Babin <https://github.com/A-Babin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
type FunctionBasedParamter = (element : HTMLElement, index : number, length : number) => number;
type AnimeCallbackFunction = (anim : anime.AnimeInstance) => void;
@@ -138,4 +139,4 @@ declare namespace anime {
declare function anime(params : anime.AnimeParams) : anime.AnimeInstance;
export = anime;
export as namespace anime;
export as namespace anime;