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? 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
#40466
Promise
void
unknown
new Yadda(callbackParam => { callbackParam(); });
new Promise(resolve => { resolve(); });
Yadda
callbackParam
--strict
const x = new Promise(resolve => { resolve(); });
resolve
#40336
capitalize
uncapitalize
uppercase
lowercase
type Yadda = internal
type Uppercase<T> = internal("uppercase");
type Uppercase<T> = internal["uppercase"];
.d.ts
intrinsic
Uppercase
instrinsic
The text was updated successfully, but these errors were encountered:
Perhaps It's a good chance to expose type level compiler api to users by internal ?
internal
Sorry, something went wrong.
Linking back to #40309.
No branches or pull requests
Inference Heuristic for Promises
#40466
Promise
constructor to leverage functionality where trailingvoid
parameters could become optional.unknown
, butunknown
isn't an optional parameter type.Yadda
based oncallbackParam
callbackParam
unknown
an optional parameter.--strict
mode?const x = new Promise(resolve => { resolve(); });
Promise
'sresolve
's parameter's optionality.Template Casing Operators
#40336
capitalize
anduncapitalize
as built-ins - can base them off of conditional types with inference anduppercase
/lowercase
.type Yadda = internal
type Uppercase<T> = internal("uppercase");
type Uppercase<T> = internal["uppercase"];
.d.ts
file?intrinsic
.d.ts
file.Uppercase
instead ofuppercase
).instrinsic
modifier on type aliases.The text was updated successfully, but these errors were encountered: