ts-sdk

tsconfig.json 608B

123456789101112131415161718192021
  1. {
  2. "compileOnSave": true,
  3. "compilerOptions": {
  4. // Target latest version of ECMAScript.
  5. "target": "es5",
  6. // Search under node_modules for non-relative imports.
  7. "moduleResolution": "node",
  8. // Process & infer types from .js files.
  9. "allowJs": false,
  10. // Import non-ES modules as default imports.
  11. "esModuleInterop": true,
  12. // Enable strictest settings like strictNullChecks & noImplicitAny.
  13. "strictNullChecks": true,
  14. "alwaysStrict": true,
  15. "sourceMap": true,
  16. "rootDirs": ["src", "example"],
  17. "outDir": "lib/"
  18. },
  19. "include": ["src/**/*", "example/**/*"]
  20. }