This commit is contained in:
tamaina 2022-04-27 20:44:37 +09:00
parent 8db5a14335
commit 4a8ce0395c
2 changed files with 5 additions and 9 deletions

View File

@ -1,9 +0,0 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}

View File

@ -19,6 +19,8 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"isolatedModules": true,
"useDefineForClassFields": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@/*": ["./src/*"], "@/*": ["./src/*"],
@ -27,6 +29,9 @@
"node_modules/@types", "node_modules/@types",
"@types", "@types",
], ],
"types": [
"vite/client",
],
"lib": [ "lib": [
"esnext", "esnext",
"dom" "dom"