Skip to content

Commit

Permalink
chore: add env types
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Jan 9, 2024
1 parent 6a9ba46 commit 52f72b4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/// <reference types="vite/client" />

interface ImportMetaEnv {
readonly VITE_FOO: string
readonly VITE_FEATURE_MIXPANEL: boolean
readonly VITE_MIXPANEL_TOKEN: string
}

interface ImportMeta {
readonly env: ImportMetaEnv
}

0 comments on commit 52f72b4

Please sign in to comment.