ts-sdk

tsconfig.json 638B

123456789101112131415161718192021222324252627
  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": true,
  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": [
  17. "src",
  18. "example"
  19. ],
  20. "outDir": "lib/",
  21. },
  22. "include": [
  23. "src/**/*",
  24. "example/**/*"
  25. ]
  26. }