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: |

The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.

The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.

telegram from cn


Telegram Semolina Code (Python / TypeScript)
FROM USA