You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(...args: never) => void signature throws an error in TS 5.1 #54543
Note that it still works fine if you use (...args: never[]) => void instead (and it makes a bit more sense, because rest arguments are supposed to have an array/tuple type).
Activity
Andarist commentedon Jun 6, 2023
This is intended, see: #52387
guillaumebrunerie commentedon Jun 6, 2023
Note that it still works fine if you use
(...args: never[]) => voidinstead (and it makes a bit more sense, because rest arguments are supposed to have an array/tuple type).typescript-bot commentedon Jun 9, 2023
This issue has been marked as 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.