mirror of
https://github.com/coder/coder.git
synced 2026-11-12 12:45:36 +08:00
6 lines
180 B
TypeScript
6 lines
180 B
TypeScript
/**
|
|
* A Nullable may be its concrete type, `null` or `undefined`
|
|
* @remark Exact opposite of the native TS type NonNullable<T>
|
|
*/
|
|
export type Nullable<T> = null | undefined | T
|