What's wrong with TypeScript Namespaces?
Автор: Nicos Tsourektsidis
Загружено: 2023-05-17
Просмотров: 3139
Описание:
A deep dive into TypeScript Namespaces. Learn everything you need to know about how to break apart your apps into namespaces, nested names. We will start from simple import/export statements, to installing packages, all the way up to more advanced concepts such as dynamic imports, immutability, and path resolution. And since this is a TypeScript course, we will also talk about exporting our types!
👩💻🧑🏿💻 Practice what you've learned: An extra exercise is waiting for you after enrolling to my TypeScript course:
https://tltr-typescript.com
Contents
00:00 Intro
02:07 What's a Namespace?
03:31 How to use a Namespace?
08:56 Merging namespaces
11:26 Namespaces on multiple files
19:11 Tripple Slash Directives
23:35 Nested Namespaces
25:41 Ambient Namespaces
29:21 Namespaces vs Modules
32:00 Outro
Links
My new ✨ TypeScript course:
https://tltr-typescript.com
The playlist with all the videos in the series:
• TLTR; TypeScript
Read the article with the coding examples:
https://nicotsou.com/tltr-typescript-...
This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.
❤️ How to support this channel?
Like this video
Subscribe to the channel
Share this video with your friends on social media (only if it helped you)
Check out my course
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: