Closed DanielRosenwasser closed 1 year ago
do you consider shipping ES6 syntax starting from 5.0?
Yes, we're considering 5.0 just shipping eS2015 syntax (though I believe CJS will be our module format - @jakebailey for validation).
The notes seem to be wrong; we're doing ES2018 (which is Node 10's level).
The outputs are still UMD-esque. ESM later, that's just more difficult.
Er, I meant the notes on #51310; I didn't read which design meeting notes this was.
What syntax we ship in our package doesn't affect which syntaxes the compiler supports, of course, which is what this issue was referring to.
(same, I misread)
Configuration Profiles/Versions
https://github.com/microsoft/TypeScript/issues/50997
extends
field intsconfig.json
support arrays seems like a reasonable workaround.Flag Deprecations
https://github.com/microsoft/TypeScript/issues/51000
charset
- doesn't do anything today?noImplicitUseStrict
"use strict"
is at the top of a file.noStrictGenericChecks
out
- various issues, useoutFile
instead.keyofStringsOnly
- rumored that we wanted this to be a temporary flag. People needed to writestring & ...
instead of...
in some cases, but was confusing.suppressExcessPropertyErrors
- type system has other capabilities for enabling these.suppressImplicitAnyIndexErrors
- literal types probably help guard against these.noFallthroughCasesInSwitch
- feels linty - not our domaintarget: es3
target
environment.target
s of ES3?target
is always required?module: umd, system, amd
--upgrade
on the command-line?noImplicitAny
andstrictNullChecks
really should be on.types
array?[]
.tsconfig.json
s are always relatively short?