mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-06 10:38:31 +08:00
[types.ts] Fixed Nullable type for RefElement (#2730)
* Fixed Nullable type for RefElement * Changed undefined to null
This commit is contained in:
parent
b1e81d5436
commit
f3784cfb62
@ -21,4 +21,4 @@ export type PartialReturnType<T extends (...args: unknown[]) => unknown> = Parti
|
||||
|
||||
export type SFCWithInstall<T> = T & Plugin
|
||||
|
||||
export type RefElement = Nullable<HTMLElement>
|
||||
export type RefElement = HTMLElement | null
|
||||
|
Loading…
Reference in New Issue
Block a user