Initial_commit_SecMPS_v2
This commit is contained in:
17
warehouse/env.d.ts
vendored
Normal file
17
warehouse/env.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
// 为Vue组件添加类型声明
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
// 为VgoMap添加类型声明
|
||||
declare interface Window {
|
||||
VgoMap: any
|
||||
$map: any
|
||||
$config: any
|
||||
apiConfig: any
|
||||
}
|
||||
Reference in New Issue
Block a user