ts-sdk

tsconfig.json 709B

1234567891011121314151617181920212223242526272829
  1. {
  2. "compileOnSave": true,
  3. "compilerOptions": {
  4. // Target latest version of ECMAScript.
  5. "target": "es6",
  6. // Search under node_modules for non-relative imports.
  7. "moduleResolution": "node",
  8. // Process & infer types from .js files.
  9. "allowJs": true,
  10. // Don't emit; allow Babel to transform files.
  11. "noEmit": true,
  12. // Import non-ES modules as default imports.
  13. "esModuleInterop": true,
  14. // Enable strictest settings like strictNullChecks & noImplicitAny.
  15. "strictNullChecks": true,
  16. "alwaysStrict": true,
  17. "sourceMap": true,
  18. "rootDirs": [
  19. "src",
  20. "example"
  21. ],
  22. "outDir": "lib/",
  23. },
  24. "include": [
  25. "src/**/*",
  26. "example/**/*"
  27. ]
  28. }