Загрузка страницы

No BS TS #2 - Typescript Functions

Let's dig into defining Typescript functions and cover the #1 misconception that programmers have about Typescript.

00:00 Introduction
00:35 Defining functions
01:11 Default exports
01:37 Default imports
02:35 What is "any"?
03:00 Typing parameters
03:40 Typing return values
04:10 Const functions
04:55 Destructured imports
05:24 Default parameters
05:50 Union types
06:46 Void functions
07:36 Promise functions
08:24 Rest parameters
09:23 #1 Misconception about Typescript
14:24 Outroduction

Code: https://github.com/jherr/no-bs-ts/tree/master/episode-2

Viewer recommended article on why default exports are bad: https://basarat.gitbook.io/typescript/main-1/defaultisbad

If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecollarcoder

Hope you folks enjoy this!
👉 If you enjoy this video, please like it and share it.
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Weekly free newsletter: https://www.jackherrington.com/subscribe/
👉 Discord server signup: https://discord.gg/ddMZFtTDa5

💢 Watch our other videos:
💟 Hacking your Github contribution graph: https://youtu.be/_ZQSPYDlk3U
💟 More Typescript videos: https://www.youtube.com/playlist?list=PLNqp92_EXZBIKO8lqN3089jgZUi-FUFXX

Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.

#typescript #NoBSTS

Видео No BS TS #2 - Typescript Functions канала Jack Herrington
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 апреля 2021 г. 17:58:17
00:14:45
Яндекс.Метрика