Represents the nullish type (T
or null
) and excludes undefined
from it.
- Built-ins:
export type Maybe<T> = Exclude<T | null, undefined>
- Type Parameters:
T
(any
): The type to make nullish.
Represents the nullish type (T
or null
) and excludes undefined
from it.
export type Maybe<T> = Exclude<T | null, undefined>
T
(any
): The type to make nullish.