Skip to content

Commit

Permalink
feat(types): re-export vite client type
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 14, 2021
1 parent d51d0e2 commit 4caa7b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// re-export vite client types
// with strict installers like pnpm, user won't be able to reference vite/client
// in project root
/// <reference types="vite/client" />

0 comments on commit 4caa7b2

Please sign in to comment.