Extract and set form values through the DOM—no frameworks required! https://github.com/TheoryOfNekomata/formxtra
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.

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. }