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
void | undefined
#42846
undefined
void
T | void | undefined
Promise<void>
Promise
#42522 #42556
const test: Action[] = [ { type: 1, payload: 42 }, { type: 2, payload: 42 }, { type: 3, payload: 42 }, ];
1
2
3
Action
const enum
microsoft/FluidFramework#5070
const enums
--preserveConstEnum
.d.ts
const
--preserveConstEnums
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Avoiding
void | undefined
Breaks in Literal Type Reduction#42846
undefined
tovoid
.T | void | undefined
- nonsensical.Promise<void>
in Rome's tools.void | undefined
reduction andPromise
s. Do we still need that?Discriminated Union Targets, and Subtype Reduction Questions
#42522
#42556
1
,2
, and3
get contextually typed, become literals.Action
instead of a full subtype reduction pass.const enum
Awfulnessmicrosoft/FluidFramework#5070
const enums
const enums
."const enum
s? Unclear what it does for you.--preserveConstEnum
, maybe the.d.ts
file shouldn't sayconst enum
?const
.--preserveConstEnums
as a tristate? New flag?const enum
is a hard constraint.The text was updated successfully, but these errors were encountered: