Align lib-definition of tsconfig.base with supported browsers reality. The smalled common denominator between Chrome, Edge, and Safari is surpisingly large and except for Atomics/SharedMem everything up until es2021 is OK, https://github.com/microsoft/vscode/issues/121144

This commit is contained in:
Johannes Rieken 2021-06-25 14:12:34 +02:00
parent 39208ad5ae
commit bba84610e6
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

View file

@ -18,11 +18,28 @@
]
},
"lib": [
"ES2015",
"ES2016.Array.Include",
"ES2016",
"ES2017.Object",
"ES2017.String",
"ES2017.Intl",
"ES2017.TypedArrays",
"ES2018.AsyncIterable",
"ES2018.AsyncGenerator",
"ES2018.Promise",
"ES2018.Regexp",
"ES2018.Intl",
"ES2019.Array",
"ES2019.Object",
"ES2019.String",
"ES2019.Symbol",
"ES2020.BigInt",
"ES2020.Promise",
"ES2020.String",
"ES2020.Symbol.WellKnown",
"ES2020.Intl",
"ES2021.Promise",
"ES2021.String",
"ES2021.Weakref",
"DOM",
"DOM.Iterable",
"WebWorker.ImportScripts"