perf: 更完善的全局类型提示

This commit is contained in:
RealityBoy
2022-11-25 12:49:38 +08:00
committed by GitHub
parent ecba3c2e7f
commit 301356ebd7
44 changed files with 725 additions and 364 deletions

View File

@@ -9,8 +9,14 @@ declare global {
namespace JSX {
interface Element extends VNode {}
interface ElementClass extends Vue {}
interface ElementAttributesProperty {
$props: any;
}
interface IntrinsicElements {
[elem: string]: any;
}
interface IntrinsicAttributes {
[elem: string]: any;
}
}
}