TypeScript Tutorials - 06 TypeScript Types
“TypeScript Types”
In this lesson, I discussed about the typescript types. The discussion on Typescript Type will be continued to next few lessons.
In this lessons, I have discussed how types variables are declared in TypeScript and how to assign them a type. Furthermore, “any” type has also been discussed.
The type to store numbers is “number” type, wherein we can store decimals, binary, octal and hexadecimal number. In order to pass decimal number to the number variable, we will have to pass just number. However, we will have to prefix 0b, 0o, 0x in the beginning of the Binary, Octal and Hexadecimal number while assigning them to the number variable.
For declaring Boolean types, we have “boolean” type, which accepts true/false.
When it comes to strings, we need to use “string” type, which can be created with three method:
1. Single Quote Strings
2. Double Quote Strings, and
3. Backtick or Backquote String
Declaring string with single or double quote is the ordinary method. However, with backtick method, we get extra privilege to span strings to multiple lines and we can also embed expressions within the string using this method.
Please watch my video to understand the facts.
https://youtu.be/h_2C22oj50A
*********************************************************************
Please subscribe to my channel:
https://www.youtube.com/c/ashmanmalhotra?sub_confirmation=1
*********************************************************************
Thank you for watching my video on "TypeScript Introduction"
*********************************************************************
Contact: [email protected] for training inquiries
*********************************************************************
"TypeScript Programming Basics" | "TypeScript Types" | "Typescript Course” | “Typed Script”
*********************************************************************
Coming Lessons on es6, javascript, typescript.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «TypeScript Tutorials - 06 TypeScript Types», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.