skip to Main Content

Javascript – Running tsc on an eslint.config.js raises error

I am running tsc --skipLibCheck with the files below: eslint.config.js: // @ts-check import jslint from "@eslint/js" export default [] tsconfig.json: { "compilerOptions": { "strict": true, "target": "ES5", "useDefineForClassFields": true, "lib": ["ES2022", "DOM", "DOM.Iterable"], "module": "ES2022", "skipLibCheck": true, "allowJs": true, "moduleResolution":…

VIEW QUESTION

Visual Studio Code – Why does VS Code suggest me auto-imports via relative path instead of the path alias I defined in my tsconfig.json?

My project structure is like this: ---- apps ---- libs -------- index.ts -------- commmon -------- service ------------ index.ts ------------ src ---------------- index.ts ---------------- goods -------------------- index.ts -------------------- src ------------------------ index.ts ------------------------ goods.service.ts Each index.ts have an export * from '...'…

VIEW QUESTION
Back To Top
Search