mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
* Start porting components for Admin menu * More porting, wip * Add icons * Extract arrow components, navHeight * Add Admin Dropdown * Format * Delete types * Fix styles * Lint * Add stub pages * Use navHeight constant * Move files * Add and organize stories * Storybook and organize text stories * Add test * Lint * Lint * Fix double navigation * Lint * Wrap new routes in AuthAndNav * Undo unrelated storybook changes * Refactor according to conventions
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
|