mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-13 17:05:47 +08:00
9 lines
236 B
TypeScript
9 lines
236 B
TypeScript
export type AnyFunction<T> = (...args: any[]) => T
|
|
|
|
export type PartialReturnType<T extends (...args: unknown[]) => unknown> =
|
|
Partial<ReturnType<T>>
|
|
|
|
export type Nullable<T> = T | null
|
|
|
|
export type RefElement = Nullable<HTMLElement>
|