tsconfig.json 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "commonjs",
  5. "strict": true,
  6. "sourceMap": true,
  7. "noImplicitAny": true,
  8. "noUnusedLocals": true,
  9. "noImplicitReturns": true,
  10. "moduleResolution": "node",
  11. "useDefineForClassFields": true, /* false ruins the discord commands (their parameters are not registering :( */
  12. "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
  13. "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  14. "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
  15. "emitDecoratorMetadata": true,
  16. "declaration": true,
  17. "resolveJsonModule": true,
  18. "skipLibCheck": true,
  19. "types" : [
  20. "node"
  21. ],
  22. "forceConsistentCasingInFileNames": true,
  23. "baseUrl": ".",
  24. "typeRoots": [
  25. "./node_modules/@polkadot/ts",
  26. "./node_modules/@types"
  27. ],
  28. "declarationDir": "./dist",
  29. "outDir": "./dist"
  30. }
  31. }