Skip to content

Commit cda5761

Browse files
authored
fix #83 (#84)
1 parent df69e8e commit cda5761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transformations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export type ObjectSubstitute<T extends Object, K extends Object = T> = ObjectSub
3030

3131
type TerminatingObject<T> = {
3232
[P in keyof T]:
33-
T[P] extends (...args: infer F) => any ? (...args: F) => void :
33+
T[P] extends (...args: infer F) => any ? ((...args: F) => void) & ((arg: AllArguments) => void) :
3434
T[P] extends () => any ? () => void :
3535
T[P];
3636
}

0 commit comments

Comments
 (0)