chore: fix type:check error (#3139)

This commit is contained in:
bowen
2023-10-12 14:50:32 +08:00
committed by GitHub
parent 4d02205839
commit f87e078402
12 changed files with 41 additions and 27 deletions

7
types/global.d.ts vendored
View File

@@ -22,6 +22,13 @@ declare global {
// __APP__: App<Element>;
// }
// fix FullScreen type error
interface Document {
mozFullScreenElement?: Element;
msFullscreenElement?: Element;
webkitFullscreenElement?: Element;
}
// vue
declare type PropType<T> = VuePropType<T>;
declare type VueNode = VNodeChild | JSX.Element;