mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Fix test methods
This commit is contained in:
Vendored
+5
-5
@@ -21,10 +21,10 @@ interface IMemoizeeOptions {
|
||||
max?: number,
|
||||
preFetch?: number,
|
||||
promise?: boolean,
|
||||
dispose?: ()=> void,
|
||||
dispose?: (value: any) => void,
|
||||
async?: boolean,
|
||||
primitive?: boolean,
|
||||
normalizer?:()=> void,
|
||||
normalizer?:(value:any ) => void,
|
||||
resolvers?: RevolversArray
|
||||
}
|
||||
|
||||
@@ -34,8 +34,8 @@ interface IMemoizeeOptions {
|
||||
* @extends {Function}
|
||||
*/
|
||||
interface IMemoizee extends Function {
|
||||
delete: () => void,
|
||||
clear: () => void
|
||||
delete: (...params: any[]) => void,
|
||||
clear: (...params: any[]) => void
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -44,6 +44,6 @@ interface IMemoizee extends Function {
|
||||
* @param {IMemoizeeOptions} [options]
|
||||
* @returns {IMemoizee}
|
||||
*/
|
||||
declare function memoizee(f: () => void, options?: IMemoizeeOptions): IMemoizee;
|
||||
declare function memoizee(f: Function, options?: IMemoizeeOptions): IMemoizee;
|
||||
|
||||
export = memoizee;
|
||||
|
||||
Reference in New Issue
Block a user