We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we put Omit in lib.d.ts? Add Omit as a known interface #30455
Omit
K
Extract
Changing the default type constraint from {} to unknown Change the default type parameter constraints and defaults to unknown from {} #30637
{}
unknown
foo<T>(x: T) { x.hasOwnProperty(...)}
JSDoc feature parity [Design Policy] Consider JSDoc feature parity with Typescript #30624
object
String
string
interface
extend
::
/* ::
/** @ts ...
as const
The text was updated successfully, but these errors were encountered:
ExtractStrict
No branches or pull requests
Should we put
Omit
in lib.d.ts? AddOmit
as a known interface #30455K
in the official definition?Extract
is not constrained eitherChanging the default type constraint from
{}
tounknown
Change the default type parameter constraints and defaults to unknown from {} #30637foo<T>(x: T) { x.hasOwnProperty(...)}
JSDoc feature parity [Design Policy] Consider JSDoc feature parity with Typescript #30624
object
: Fine to treat this asobject
in input positions, but in output positions this is fatal because JS is often under-specifiedString
/string
has a similar probleminterface
- can'textend
something::
syntax/* ::
widely-used amongst flow programmers?/** @ts ...
as const
should work in JSDoc cast syntax (bug)The text was updated successfully, but these errors were encountered: