2023-03-28 20:37:18 +08:00
|
|
|
declare module '*.vue' {
|
|
|
|
import type { App, DefineComponent } from 'vue'
|
|
|
|
const component: DefineComponent<{}, {}, any> & {
|
|
|
|
install(app: any): void
|
|
|
|
}
|
|
|
|
export default component
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.svg' {
|
|
|
|
import type { DefineComponent } from 'vue'
|
|
|
|
const component: DefineComponent<{}, {}, any>
|
|
|
|
export default component
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.jpg' {
|
2023-08-11 16:40:06 +08:00
|
|
|
const src: string
|
|
|
|
export default src
|
2023-03-28 20:37:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.jpeg' {
|
2023-08-11 16:40:06 +08:00
|
|
|
const src: string
|
|
|
|
export default src
|
2023-03-28 20:37:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.png' {
|
2023-08-11 16:40:06 +08:00
|
|
|
const src: string
|
|
|
|
export default src
|
2023-03-28 20:37:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'virtual-template?*' {
|
|
|
|
import type { DefineComponent } from 'vue'
|
2023-08-11 16:40:06 +08:00
|
|
|
const src: (mode: string) => DefineComponent<{}, {}, any>
|
|
|
|
export default src
|
2023-03-28 20:37:18 +08:00
|
|
|
}
|