Duration
1 min
Access
Pro
Transcript
Available

TypeScript will sometimes display the original Primitive Type rather than the Type Alias that you've set. By appending & {} to your Type Alias, you can force TypeScript to display your Alias.