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 Sep 26, 2023
1 parent b86666c commit 042f71c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
"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"
]
}
}

0 comments on commit 042f71c

Please sign in to comment.