add vite env types

This commit is contained in:
Jeff Emmett 2024-12-07 13:31:37 -05:00
parent de3ca11f5b
commit 614c1f2dcf
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
}