chore: 更新 vite/client 配置
This commit is contained in:
parent
307810d9c0
commit
df4ff20df8
2
types/env.d.ts
vendored
2
types/env.d.ts
vendored
@ -1,5 +1,3 @@
|
|||||||
/// <reference types="vite/client" />
|
|
||||||
|
|
||||||
/** 声明 vite 环境变量的类型(如果未声明则默认是 any) */
|
/** 声明 vite 环境变量的类型(如果未声明则默认是 any) */
|
||||||
declare interface ImportMetaEnv {
|
declare interface ImportMetaEnv {
|
||||||
readonly VITE_BASE_API: string
|
readonly VITE_BASE_API: string
|
||||||
|
6
types/shims-vue.d.ts
vendored
6
types/shims-vue.d.ts
vendored
@ -1,9 +1,3 @@
|
|||||||
declare module "*.vue" {
|
|
||||||
import { DefineComponent } from "vue"
|
|
||||||
const component: DefineComponent<{}, {}, any>
|
|
||||||
export default component
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module "*.scss" {
|
declare module "*.scss" {
|
||||||
const scss: Record<string, string>
|
const scss: Record<string, string>
|
||||||
export default scss
|
export default scss
|
||||||
|
Loading…
x
Reference in New Issue
Block a user