You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module "/Users/xgqfrms-mm/Documents/github/leetcode/js-solutions/large-dataset"
An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.ts(5097)
{"compilerOptions": {// "target": "ES2022",// "target": "ES2020","target": "ESNext",// "module": "NodeNext","module": "ESNext","lib": ["ES2015","ES2016","ES2017","ES2018","ES2019","ES2020",// "ES2021",// "ES2022","ESNext","dom","dom.iterable"],"downlevelIteration": false,"strict": true,"esModuleInterop": true,"skipLibCheck": true,"forceConsistentCasingInFileNames": true,"sourceMap": true,"sourceRoot": "./src","allowJs": true,// Generate d.ts files ✅"declaration": true,"checkJs": false,"noImplicitAny": false,"baseUrl": "./src","locale": "zh-CN","noImplicitReturns": true,// "allowImportingTsExtensions": true,// error TS5023: Unknown compiler option 'allowImportingTsExtensions'. ❌// "noEmit": true,// Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set.ts"incremental": false},"type": "module","include": [// include folder ✅"src/**/*","js-solutions/**/*","test/**/*"],"exclude": ["node_modules","build","js-solutions/**/*","data-structures/**/*","000-xyz/**/*","test/**/*.spec.ts"]}
vscode & TypeScript & allowImportingTsExtensions
allowImportingTsExtensions
microsoft/TypeScript#52230
microsoft/TypeScript#52320
The text was updated successfully, but these errors were encountered: