use es2020 for typescript

This commit is contained in:
Matthias 2020-11-10 20:14:07 +01:00
parent 4aabb77799
commit ee06a542bb

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es6",
"module": "es6",
"target": "es2020",
"module": "es2020",
// this enables stricter inference for data properties on `this`
"strict": true,
// if using webpack 2+ or rollup, to leverage tree shaking: