chore: updates

This commit is contained in:
Anthony Fu committed 2021-02-05 08:42:22 +08:00
1 parent 438c75ab24
commit bf324ce33d
4 files changed
+147 -163

No files matched your search

+9 -2
View File
@@ -1,11 +1,18 @@
/* eslint-disable import/no-duplicates */
declare interface Window {
// extend the window
}
declare module '*.vue' {
import { ComponentOptions } from 'vue'
const component: ReturnType<ComponentOptions>
const component: ComponentOptions
export default component
}
// with vite-plugin-md, markdowns can be treat as Vue components
declare module '*.md' {
import { ComponentOptions } from 'vue'
const component: ReturnType<ComponentOptions>
const component: ComponentOptions
export default component
}
-3
View File
@@ -1,3 +0,0 @@
declare interface Window {
// extend the window
}