2
0

tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "commonjs",
  5. "strict": true,
  6. "sourceMap": true,
  7. "noImplicitAny": true,
  8. "noUnusedLocals": false,
  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": ["node"],
  20. "forceConsistentCasingInFileNames": true,
  21. "baseUrl": ".",
  22. "typeRoots": ["./node_modules/@polkadot/ts", "./node_modules/@types"],
  23. "declarationDir": "./dist",
  24. "outDir": "./dist"
  25. }
  26. }