You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tsconfig.json 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "compilerOptions": {
  3. "allowSyntheticDefaultImports": true,
  4. "baseUrl": ".",
  5. "declaration": true,
  6. "esModuleInterop": true,
  7. "experimentalDecorators": true,
  8. "forceConsistentCasingInFileNames": true,
  9. "importsNotUsedAsValues": "error",
  10. "incremental": true,
  11. "importHelpers": true,
  12. "jsx": "react",
  13. "lib": ["dom", "esnext"],
  14. "module": "esnext",
  15. "moduleResolution": "node",
  16. "noEmit": false,
  17. "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
  18. "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
  19. "noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
  20. "noUnusedLocals": false /* Report errors on unused locals. */,
  21. "noUnusedParameters": false /* Report errors on unused parameters. */,
  22. "outDir": "dist",
  23. "skipLibCheck": true,
  24. "sourceMap": true,
  25. "strict": false,
  26. "strictFunctionTypes": true /* Enable strict checking of function types. */,
  27. "strictNullChecks": true /* Enable strict null checks. */,
  28. "target": "es5",
  29. "typeRoots": ["node_modules/@types", "node_modules/jest"],
  30. "types": ["node", "jest"],
  31. "paths": {
  32. "@tldraw/tldraw": ["./packages/tldraw/dist"],
  33. "@tldraw/core": ["./packages/core/dist"]
  34. }
  35. }
  36. }