-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
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
Design Meeting Notes, 4/20/2022 #48790
Comments
Here are three demos for the conditional expression + arrow expression:
|
Re: This is tricky though because dynamic imports in script code don't treat relative paths the same as those in module code at runtime. (If a relative path works at all, it would be relative to e.g. the current URL). |
@fatcerberus I think that resonates with me too - but then we also require a specific |
import
emit inmodule: none
Emit for dynamic import (import()
) when target >= ES2020 and module == None #48702import
inmodule: none
+outFile
produces an asyncrequire
require
insteadIMPORT
, change toimport
)module: none
, e.g. handling import declarations, in 4.8Parser Problems allow PrivateIdentifier in QualifiedName #48640
typeof a.#foo
QualifiedName
now includesMemberName
instead ofIdentifier
typeof
operand type instead?Problems with Parsers [4.7-beta] Parsing failure for arrow function expr in conditional expr #48733
(false ? (param): string => param: null)
;:
a type annotation, or the colon in the formx ? y: z
?a ? (n) : m => expr
is ambiguous until you get to the end of theexpr
and see that the:
is missinga ? (b) : c => (d) : e => f
means what ?a ? (): b => c : d
a ? (x): b => c : d
a ? (x: y): b => c : d
a ? (x, z): b => c : d
The text was updated successfully, but these errors were encountered: