Skip to content

Commit

Permalink
parenthesize to mitigate ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Aug 24, 2024
1 parent 3ce3b68 commit 0968124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type ChainFns<
FromCallbacks extends Array<(...args: unknown[]) => void>,
ToCallbacks extends Array<(...args: unknown[]) => void>,
> = {
[T in keyof FromCallbacks]?: (...args: Parameters<FromCallbacks[T]>) => CPSFn<ToCallbacks> | undefined
[T in keyof FromCallbacks]?: ((...args: Parameters<FromCallbacks[T]>) => CPSFn<ToCallbacks>) | undefined
}

type CPS<
Expand Down

0 comments on commit 0968124

Please sign in to comment.