types: add vue sfc shim (#8131)

This commit is contained in:
neverland 2021-02-11 11:32:44 +08:00 committed by GitHub
parent 015be0ee70
commit a41b2c03bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

6
src/vue-sfc-shim.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
declare module '*.vue' {
// eslint-disable-next-line
import { DefineComponent } from 'vue';
const Component: DefineComponent;
export default Component;
}