diff --git a/memoizee/index.d.ts b/memoizee/index.d.ts index 6cefaf39d5..5d6fc049ad 100644 --- a/memoizee/index.d.ts +++ b/memoizee/index.d.ts @@ -21,10 +21,10 @@ interface IMemoizeeOptions { max?: number, preFetch?: number, promise?: boolean, - dispose?: () => void, + dispose?: ()=> void, async?: boolean, primitive?: boolean, - normalizer?:() => void, + normalizer?:()=> void, resolvers?: RevolversArray } @@ -44,6 +44,6 @@ interface IMemoizee extends Function { * @param {IMemoizeeOptions} [options] * @returns {IMemoizee} */ -declare function memoizee(f: any, options?: IMemoizeeOptions): IMemoizee; +declare function memoizee(f: () => void, options?: IMemoizeeOptions): IMemoizee; export = memoizee;