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
type B = Yadda | Wakka | any; // really an alias to `any` function fn<T extends B(x: T) { takeObj(x); } function takeObj(thing: Record<string, any>) { // ... }
x
any
isAttributeArgs(x)
never
config?: string
config: number
concat
flat
awaited
#35998
Promise<T>
T
Promise<...>
Promise<Promise<...>>
Promise
--emitExtension
--noImplicitExtensionName
#35148
moduleResolution
#37537
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Breaks from 3.9
x
isn't treated as much asany
.isAttributeArgs(x)
is a type guard.never
.config?: string
intersected withconfig: number
.Array Method Definition Changes
concat
andflat
etc.awaited
Type#35998
Promise<T>
, thatT
really should never be aPromise<...>
Promise<Promise<...>>
, we have to rethink everything about our implementation.Promise
takes really needs to be considered special in some capacity.--emitExtension
and--noImplicitExtensionName
#35148
moduleResolution
flags, not clear we want 3 separate new ones, not clear how they should all behave.Expanded Generic Source Intersections
#37537
The text was updated successfully, but these errors were encountered: