修复block、template在IntrinsicElements未定义的提示
修复block、template在IntrinsicElements未定义的提示
This commit is contained in:
parent
e97fb8d669
commit
6b99490232
7
src/types/global.d.ts
vendored
7
src/types/global.d.ts
vendored
@ -14,3 +14,10 @@ declare const __UNI_PLATFORM__:
|
||||
| 'quickapp-webview-union'
|
||||
|
||||
declare const __VITE_APP_PROXY__: 'true' | 'false'
|
||||
|
||||
declare namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
template: any
|
||||
block: any
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user