Skip to content

Commit

Permalink
fix: Include vite/client types
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Jul 13, 2023
1 parent 09928e8 commit 371be99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/build/generateTypesDir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async function writeMainDeclarationFile(
filePath,
[
'// Generated by wxt',
`/// <reference types="vite/client" />`,
...references.map(
(ref) => `/// <reference types="./${relative(dir, ref)}" />`,
),
Expand Down

0 comments on commit 371be99

Please sign in to comment.