-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Design Meeting Notes, 9/18/2020 #40636
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
Comments
As far as I know, public fields have already shipped in all evergreen browsers. Can someone expand on what the conversation in the design meeting was about? |
All major browsers have shipped the feature, without flags (and have done so for awhile at this point) - making it defacto in the language as-is, spec or no, but it hasn't advanced to stage 4 yet (meaning "will be in the next published spec"), for some reason, so we can't even include it in a yearly spec preset yet! |
This is part of the TC39 agenda for this meeting: https://docs.google.com/presentation/d/14ynZtqqlB9mCfK7iYdpwtO6hMV7dv9fVW0Z67PEwGzI/edit#slide=id.p The TLDR is that they want all class field features (private/public, static/instance, method/field) to be unified into a single class fields proposal, so all class field features will reach stage 4 at once (when implementations are shipping all the features). |
Primitives Types in Template Slots
#40598
string
,number
, andbigint
are these infinite types that can go into these template types.string
.${string}
becomesstring
which is not incorrect.http://${string}
to exist and be reasoned about #40598,string
in a substitution position just sits around, acts kind of like if you usedT
whereT extends string
.number
too, you'd be able to say "I take numeric strings" (accepting only canonical string representations of those numbers).bigint
s in these literal types?number
and numeric literal types, then you can only write these things via inference.string
in them tostring
.XML Namespaces: What do they do? Do they do anything? Let’s find out!
#37421
"jsx": "react"
?--tsc init
defaults#39642
--downlevelIteration
is still opt-in.--target es2015
?useDefineForClassFields
for the time being.types: []
in the future if we have better error messages.The text was updated successfully, but these errors were encountered: