tsconfig.dom.json 683 B

12345678910111213141516171819202122
  1. {
  2. "extends": "./tsconfig.json",
  3. "compilerOptions": {
  4. "lib": [
  5. // Target ES2020 to align with Vite.
  6. // <https://vitejs.dev/config/build-options.html#build-target>
  7. // Support for newer versions of language built-ins are
  8. // left for the users to include, because that would require:
  9. // - either the project doesn't need to support older versions of browsers;
  10. // - or the project has properly included the necessary polyfills.
  11. "ES2020",
  12. "DOM",
  13. "DOM.Iterable"
  14. // No `ScriptHost` because Vue 3 dropped support for IE
  15. ],
  16. // Set to empty to avoid accidental inclusion of unwanted types
  17. "types": []
  18. }
  19. }