Extract and set form values through the DOM—no frameworks required! https://github.com/TheoryOfNekomata/formxtra
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

tsconfig.json 1.5 KiB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
  3. "include": ["src", "types"],
  4. "compilerOptions": {
  5. "module": "esnext",
  6. "lib": ["dom", "esnext"],
  7. "importHelpers": true,
  8. // output .d.ts declaration files for consumers
  9. "declaration": true,
  10. // output .js.map sourcemap files for consumers
  11. "sourceMap": true,
  12. // match output dir to input dir. e.g. dist/index instead of dist/src/index
  13. "rootDir": "./src",
  14. // stricter type-checking for stronger correctness. Recommended by TS
  15. "strict": true,
  16. // linter checks for common issues
  17. "noImplicitReturns": true,
  18. "noFallthroughCasesInSwitch": true,
  19. // noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative
  20. "noUnusedLocals": true,
  21. "noUnusedParameters": true,
  22. // use Node's module resolution algorithm, instead of the legacy TS one
  23. "moduleResolution": "node",
  24. // transpile JSX to React.createElement
  25. "jsx": "react",
  26. // interop between ESM and CJS modules. Recommended by TS
  27. "esModuleInterop": true,
  28. // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
  29. "skipLibCheck": true,
  30. // error out if import and file system have a casing mismatch. Recommended by TS
  31. "forceConsistentCasingInFileNames": true,
  32. // `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
  33. "noEmit": true,
  34. }
  35. }