diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index d143f4e65..f4690176d 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -6494,11 +6494,22 @@ declare module _ { } type PH = LoDashStatic; - type Function0 = () => R; - type Function1 = (t1: T1) => R; - type Function2 = (t1: T1, t2: T2) => R; - type Function3 = (t1: T1, t2: T2, t3: T3) => R; - type Function4 = (t1: T1, t2: T2, t3: T3, t4: T4) => R; + + interface Function0 { + (): R; + } + interface Function1 { + (t1: T1): R; + } + interface Function2 { + (t1: T1, t2: T2): R; + } + interface Function3 { + (t1: T1, t2: T2, t3: T3): R; + } + interface Function4 { + (t1: T1, t2: T2, t3: T3, t4: T4): R; + } interface Partial { // arity 0