diff --git a/tsconfig.base.json b/tsconfig.base.json index 19075596a3..6a16612fa7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2,6 +2,7 @@ "extends": "@polkadot/dev/config/tsconfig.json", "compilerOptions": { "composite": false, + "lib": ["es2021", "dom"], "jsx": "react", "resolveJsonModule": true, "paths": { @@ -102,6 +103,7 @@ "@polkadot/test-support/": ["test-support/src/"], "@polkadot/test-support/*": ["test-support/src/*"] }, - "skipLibCheck": true + "skipLibCheck": true, + "target": "es2020" } }