Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(types): add missing types field in template-preact-ts #2298

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: add missing import meta types in preact ts template
  • Loading branch information
yue4u committed Feb 27, 2021
commit e47591847b65de3656b43b5d35f1a0a8e78139c3
2 changes: 1 addition & 1 deletion packages/create-app/template-preact-ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": [],
"types": ["vite/client"],
"allowJs": false,
"skipLibCheck": false,
"esModuleInterop": false,