Parameters<>
utility type does not respect exactOptionalPropertyTypes
#49765
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Bug Report
π Search Terms
π Version & Regression Information
4.7.4
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
undefined
is included in theParameters<>
output even whenexactOptionalPropertyTypes
is onπ Expected behavior
The output should match the function parameters exactly, so no
undefined
valueThe text was updated successfully, but these errors were encountered: