#15 Literal Types | Simple TypeScript Course

preview_player
Показать описание
When you specify a type of `string` in TypeScript, this can be any string from "string1" to "string2". Sometimes, you don't want to create a general type like string, but you want to be specific on what the string looks like. For that, you can use literal types.

_____

🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.

_____

⚡️ Connect with me:
Рекомендации по теме