Maina Wycliffe talks with us about what he enjoys about using Typescript, practices people should avoid when using Typescript, and how Zod can help with schemas.
const podcast = {
episode: 226,
title: 'All Things Typescript',
topics: [
'Typescript', 'coding', 'types'
],
guest: 'Maina Wycliffe'
hosts: [
'John Papa', 'Craig Shoemaker'
]
};
Recording date: March 9, 2023
John Papa @John_Papa
Ward Bell @WardBell
Dan Wahlin @DanWahlin
Craig Shoemaker @craigshoemaker
Maina Wycliffe @mwycliffe_dev
Brought to you by
Resources:
- All Things TypeScript Newsletter
- General Zod
- Typescript and Zod schemas
- TypeScript type assertion
- Typescript-eslint
- Better linting with TypeScript and ESLint
- Linting in TypeScript using ESLint and Prettier
- Zod vs Yup validation schemas
- Zod, Joi and Yup side by side
- When should you use Zod?
- Fetch API
- TypeScript Decorators
- Type Narrowing in TypeScript
- GitHub Copilot
Timejumps
- 00:28 Welcome back
- 01:43 Guest introduction
- 04:32 Why shouldn't we use assertions?
- 08:31 Sponsor: Ag Grid
- 09:35 Using Zod schemas as the source of truth?
- 13:11 How would you use Zod to validate data?
- 18:51 Sponsor: IdeaBlade
- 19:50 What are your favorite features about Typescript?
- 27:10 What is type narrowing doing?
- 33:10 What are practices people should avoid with Typescript?
- 35:24 Final thoughts
Podcast editing on this episode done by Chris Enns of Lemon Productions.