summaryrefslogtreecommitdiff
path: root/jb-ui/src/vite-env.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'jb-ui/src/vite-env.d.ts')
-rw-r--r--jb-ui/src/vite-env.d.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/jb-ui/src/vite-env.d.ts b/jb-ui/src/vite-env.d.ts
new file mode 100644
index 0000000..11d7a7a
--- /dev/null
+++ b/jb-ui/src/vite-env.d.ts
@@ -0,0 +1,17 @@
+/// <reference types="vite/client" />
+
+interface ViteTypeOptions {
+ // By adding this line, you can make the type of ImportMetaEnv strict
+ // to disallow unknown keys.
+ // strictImportMetaEnv: unknown
+}
+
+interface ImportMetaEnv {
+ readonly VITE_BASENAME: string
+ readonly VITE_BPID: string
+ readonly VITE_TAG_MANAGER: string
+}
+
+interface ImportMeta {
+ readonly env: ImportMetaEnv
+} \ No newline at end of file