Telegram Group & Telegram Channel
Урок 5 (TypeScript)

Приведение типов, generics, custom type guards

В уроке рассмотрены основные способы приведения типов в TypeScripts для примитивных типов данных, а также представлены более сложные техники для работы с интерфейсами, классами и массивами. Также в уроке затронута тема дженериков и custom type guards

Ссылка на видео
Методичка в notion: Преобразование типов

Общая часть:
00:00 - что будем делать
00:35 - явное приведение типа
01:29 - создание скрипта для запуска в package.json
03:39 - как работает явное приведение типа
06:59 - альтернативный синтаксис явного приведения типа
09:26 - конвертация через функции

Для опытных:
15:00 - interface casting
18:16 - generics (шаблонные функции) в typescript
23:09 - class casting
27:08 - array casting
30:03 - custom type guards
33:14 - итоги

SemolinaCode | Chat | YouTube | Arbuzers | HowToCode | Prop



tg-me.com/semolina_code_python/108
Create:
Last Update:

Урок 5 (TypeScript)

Приведение типов, generics, custom type guards

В уроке рассмотрены основные способы приведения типов в TypeScripts для примитивных типов данных, а также представлены более сложные техники для работы с интерфейсами, классами и массивами. Также в уроке затронута тема дженериков и custom type guards

Ссылка на видео
Методичка в notion: Преобразование типов

Общая часть:
00:00 - что будем делать
00:35 - явное приведение типа
01:29 - создание скрипта для запуска в package.json
03:39 - как работает явное приведение типа
06:59 - альтернативный синтаксис явного приведения типа
09:26 - конвертация через функции

Для опытных:
15:00 - interface casting
18:16 - generics (шаблонные функции) в typescript
23:09 - class casting
27:08 - array casting
30:03 - custom type guards
33:14 - итоги

SemolinaCode | Chat | YouTube | Arbuzers | HowToCode | Prop

BY Semolina Code (Python / TypeScript)




Share with your friend now:
tg-me.com/semolina_code_python/108

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

To pay the bills, Mr. Durov is issuing investors $1 billion to $1.5 billion of company debt, with the promise of discounted equity if the company eventually goes public, the people briefed on the plans said. He has also announced plans to start selling ads in public Telegram channels as soon as later this year, as well as offering other premium services for businesses and users.

Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at ₹43,559 crore at the end of March 2021 compared to the company’s market capitalisation of ₹44,447 crore.

telegram from it


Telegram Semolina Code (Python / TypeScript)
FROM USA