Last active
April 9, 2019 17:59
-
-
Save ancyrweb/216f4b8c3025750ebe95d35f4c2ff923 to your computer and use it in GitHub Desktop.
TypeScript basic types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type OrNull<T> = T | null; | |
| export type OrUndefined<T> = T | undefined; | |
| export type Maybe<T> = OrNull<OrUndefined<T>>; | |
| export type StringMap<V> = {[key: string]: V} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment