Typescript Union Types
TypeScript lets us type variables with different levels of type specificity. If the type is defined as string, number it becomes very specific type since Typescript will allow variable to have only string or a number value respectively. We could also...
codelady.hashnode.dev5 min read