Skip to content

Commit

Permalink
fix #83 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffMathy authored Mar 4, 2020
1 parent df69e8e commit cda5761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type ObjectSubstitute<T extends Object, K extends Object = T> = ObjectSub

type TerminatingObject<T> = {
[P in keyof T]:
T[P] extends (...args: infer F) => any ? (...args: F) => void :
T[P] extends (...args: infer F) => any ? ((...args: F) => void) & ((arg: AllArguments) => void) :
T[P] extends () => any ? () => void :
T[P];
}
Expand Down

0 comments on commit cda5761

Please sign in to comment.