Files
coder/site/src/util/nullable.ts
T
Presley Pizzo 3f21ea472f feat(site): Add Admin Dropdown menu (#885)
* 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
2022-04-08 18:25:53 -04:00

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