We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
--transpileOnly
tsc
/dev/null
Pick
keyof
Omit
never
declare function fn(x: MappedFooOrBar): void; // Desired: Not OK fn({ x: true, foo: undefined }); // Desired: OK fn({ x: false });
The text was updated successfully, but these errors were encountered:
RyanCavanaugh
No branches or pull requests
--transpileOnly
intsc
, re-open of #4176) #29651/dev/null
?Pick
is not homomorphic, so this doesn't distributekeyof
results after they're already resolved on a non-genericPick
/Omit
/ etc with their identity-providing inputs (keyof
,never
) are not true identitiesThe text was updated successfully, but these errors were encountered: