Skip to content

Conversation

@jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Feb 7, 2022

Typescript 4.5 changed how inference with extends works, A) don't use Function as a type as that's a foot gun B) create a ReturnTypeOrNever/ParametersOrNever utility types to handle the inference changes. #3090 #3088

@jamesdaniels jamesdaniels merged commit f61bc7d into master Feb 7, 2022
@jamesdaniels jamesdaniels deleted the typescript_4.5_fix branch February 7, 2022 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant