bluelovers / idea-run-typescript

IntelliJ IDEA (and WebStorm...) plugin to support 'TypeScript' as a run configuration
https://plugins.jetbrains.com/plugin/10841-run-configuration-for-typescript
75 stars 14 forks source link

cant read tsconfig.json #46

Open yangliguo7 opened 1 year ago

yangliguo7 commented 1 year ago

use es2022 to code

image

and config tsconfig.json

image

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