Skip to content
json
{  
  "compilerOptions": {  
    /* Base Options: */  
    "skipLibCheck": true,  
    "target": "es2022",  
    "esModuleInterop": true, // Makes working with CommonJS easier  
    "allowJs": true, // Lets you import .js files  
    "resolveJsonModule": true, // Lets you import .json files  
    "moduleDetection": "force",  
    "isolatedModules": true,  
    "verbatimModuleSyntax": true,  
    /* Strictness */  
    "strict": true,  
    "noUncheckedIndexedAccess": true,  
    "noImplicitOverride": true,  
    /* If transpiling with TypeScript: */  
    "module": "NodeNext",  
    "outDir": "dist",  
    "sourceMap": true,  
    /* AND if you're building for a library: */  
    "declaration": true,  
    /* AND if you're building for a library in a monorepo: */  
    "composite": true,  
    "declarationMap": true,  
    /* If NOT transpiling with TypeScript: */  
    // "module": "Preserve",    // "noEmit": true,    /* If your code runs in the DOM: */    "lib": ["es2022", "dom", "dom.iterable"]  
    /* If your code doesn't run in the DOM: */  
    // "lib": ["es2022"]  }  
}
本站访客数 人次      本站总访问量