Open yangliguo7 opened 1 year ago
use es2022 to code
and config tsconfig.json
tsconfig.json
{ compilerOptions:{ "target": "esnext", "lib": ["esnext","dom"], "module": "es6", } }
but the output captch error
TSError: ⨯ Unable to compile TypeScript: aaaa.ts:3:17 - error TS2339: Property 'at' does not exist on type 'number[]'. console.log(arr.at(1));
cant use es2022 feature
use es2022 to code
and config tsconfig.json
tsconfig.json
but the output captch error
cant use es2022 feature