add vite env types

This commit is contained in:
Jeff Emmett 2024-12-07 13:31:37 -05:00
parent 6f6c924f66
commit c4198e1faf
1 changed files with 8 additions and 0 deletions

8
src/vite-env.d.ts vendored
View File

@ -1 +1,9 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_TLDRAW_WORKER_URL: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}