Skip to content

Commit

Permalink
tsconfig.json: Move types into compilerOptions
Browse files Browse the repository at this point in the history
This fixes "Property 'env' does not exist on type 'ImportMeta'".

Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
zmc committed Nov 17, 2023
1 parent b86666c commit a9df945
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
"noEmit": true,
"jsx": "preserve",
"jsxImportSource": "@emotion/react",
"downlevelIteration": true
"downlevelIteration": true,
"types": [
"./src/vite-env-override.d.ts",
"vite/client"
]
},
"types": ["src/vite-env-override.d.ts", "vite/client"],
"include": [
"src"
]
Expand Down

0 comments on commit a9df945

Please sign in to comment.