perf: optimize components and add comments

This commit is contained in:
Vben
2021-06-09 00:22:05 +08:00
parent 84d9300e52
commit 55e9d9fc29
40 changed files with 533 additions and 527 deletions

4
types/module.d.ts vendored
View File

@@ -1,6 +1,6 @@
declare module '*.vue' {
import { defineComponent } from 'vue';
const Component: ReturnType<typeof defineComponent>;
import { DefineComponent } from 'vue';
const Component: DefineComponent<{}, {}, any>;
export default Component;
}