mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
6 lines
181 B
TypeScript
6 lines
181 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;
|