tsconfig.json 1.8 KB

123456789101112131415161718192021222324252627282930
  1. {
  2. "compilerOptions": {
  3. /* Basic Options */
  4. // *"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
  5. // *"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
  6. // *"lib": [ /* Specify library files to be included in the compilation. */
  7. // * "DOM",
  8. // * "ES2019"
  9. // *],
  10. // *"allowJs": true, /* Allow javascript files to be compiled. */
  11. "jsx": "react",
  12. "noUnusedLocals": false,
  13. // "checkJs": true, /* Report errors in .js files. */
  14. // "declaration": true, /* Generates corresponding '.d.ts' file. */
  15. // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
  16. // *"sourceMap": true, /* Generates corresponding '.map' file. */
  17. // *"outDir": "dist", /* Redirect output structure to the directory. */
  18. // *"strict": true,
  19. // "baseUrl": ".", /* Base directory to resolve non-absolute module names. */
  20. // "paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
  21. // "*": ["node_modules/*"]
  22. // },
  23. // *"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  24. },
  25. // *"include": [
  26. // * "./src"
  27. // *],
  28. // *"exclude": [ "node_modules" ],
  29. "extends": "./node_modules/electron-webpack/tsconfig-base.json"
  30. }