We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df69e8e commit cda5761Copy full SHA for cda5761
src/Transformations.ts
@@ -30,7 +30,7 @@ export type ObjectSubstitute<T extends Object, K extends Object = T> = ObjectSub
30
31
type TerminatingObject<T> = {
32
[P in keyof T]:
33
- T[P] extends (...args: infer F) => any ? (...args: F) => void :
+ T[P] extends (...args: infer F) => any ? ((...args: F) => void) & ((arg: AllArguments) => void) :
34
T[P] extends () => any ? () => void :
35
T[P];
36
}
0 commit comments