This commit is contained in:
2024-12-01 23:58:21 +08:00
parent 5567c62d53
commit 5f28d4a149
22 changed files with 1414 additions and 3 deletions

8
typing.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
// typing.d.ts 或 global.d.ts
declare global {
namespace JSX {
type Element = HTMLElement; // 将 JSX.Element 设置为 HTMLElement
}
}
export {};