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...

Markdown supported · ⌘↵ to post
No responses yet.