add base
This commit is contained in:
8
typing.d.ts
vendored
Normal file
8
typing.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// typing.d.ts 或 global.d.ts
|
||||
declare global {
|
||||
namespace JSX {
|
||||
type Element = HTMLElement; // 将 JSX.Element 设置为 HTMLElement
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user