Загрузка...

Type-Safe Environment Variables In TypeScript (Part 2)

This is part 2 of the TypeScript Newsletter App Course: https://newsletter-course.gdelgado.ca
-------

In this video I show you how to leverage "User-Defined Type Guards" (docs below) to validate environment variables in a type-safe way!

------
Helpful Links:

- User-Defined Type Guards: https://www.typescriptlang.org/docs/handbook/advanced-types.html#user-defined-type-guards

- Firebase Remote Config: https://firebase.google.com/docs/functions/config-env

- Firebase Local Emulator Config: https://firebase.google.com/docs/functions/local-emulator#set_up_functions_configuration_optional
-------

Repo: https://github.com/supermacro/newsletter-service

Twitter: https://twitter.com/_gdelgado

I stream on Twitch every Tuesday at 10am Eastern Time: https://www.twitch.tv/vimboycolor

My Newsletter: https://gdelgado.ca/pages/newsletter

Видео Type-Safe Environment Variables In TypeScript (Part 2) канала VimBoyColor
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять