提交学习笔记专用
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.

23 lines
749 B

  1. {
  2. "extends": "./tsconfig.json",
  3. "compilerOptions": {
  4. "lib": [
  5. // Target ES2020 to align with Vite.
  6. // <https://vite.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. // e.g. the Node.js types that would pollute the global scope.
  18. "types": []
  19. }
  20. }