chore: add type for import by eslint (#253)

This commit is contained in:
云游君 authored and GitHub committed 2021-12-16 03:29:24 +08:00
1 parent 0f56f15197
commit 475a769137
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ declare interface Window {
// with vite-plugin-md, markdowns can be treat as Vue components
declare module '*.md' {
import { ComponentOptions } from 'vue'
import type { ComponentOptions } from 'vue'
const component: ComponentOptions
export default component
}