[types.ts] Fixed Nullable type for RefElement (#2730)

* Fixed Nullable type for RefElement

* Changed undefined to null
This commit is contained in:
Daniel Jost 2021-07-27 19:16:41 -07:00 committed by GitHub
parent b1e81d5436
commit f3784cfb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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