👋 Hello! I'm Peter.
Composing music is my latest hobby. Some of my creations:
Some of my tweets
TypeScript Tip 💡— Peter Makowski (@peter_makowski) March 11, 2021
Use "as const" to convert the entire object to be type literals.
TypeScript uses primitive types in objects by default as it assumes that the properties might change values later. pic.twitter.com/pS1j4JlSb8