mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
Change resolver type to Function in lodash.d.ts
Change to support functions with arbitrary number of inputs, not just one.
This commit is contained in:
Vendored
+1
-1
@@ -2672,7 +2672,7 @@ declare module _ {
|
||||
**/
|
||||
memoize<T extends Function>(
|
||||
func: T,
|
||||
resolver?: (n: any) => string): T;
|
||||
resolver?: Function): T;
|
||||
}
|
||||
|
||||
//_.once
|
||||
|
||||
Reference in New Issue
Block a user