DEV Community 👩‍💻👨‍💻

a-byte-of-typescript Series' Articles

Back to Maina Wycliffe's Series
Type Narrowing in TypeScript
Cover image for Type Narrowing in TypeScript

Type Narrowing in TypeScript

Reactions 63 Comments 4
6 min read
Typescript: why you should use unknown instead of any
Cover image for Typescript: why you should use unknown instead of any

Typescript: why you should use unknown instead of any

Reactions 84 Comments
3 min read
Custom Type Guards in Typescript
Cover image for Custom Type Guards in Typescript

Custom Type Guards in Typescript

Reactions 45 Comments 9
3 min read
Better Types using Discriminated Unions in TypeScript
Cover image for Better Types using Discriminated Unions in TypeScript

Better Types using Discriminated Unions in TypeScript

Reactions 63 Comments 1
4 min read
Template String Types as Discriminants in Typescript 4.5
Cover image for Template String Types as Discriminants in Typescript 4.5

Template String Types as Discriminants in Typescript 4.5

Reactions 91 Comments 3
3 min read
Type Assertions in TypeScript - why not?
Cover image for Type Assertions in TypeScript - why not?

Type Assertions in TypeScript - why not?

Reactions 10 Comments 1
3 min read
The Tuple Type in Typescript
Cover image for The Tuple Type in Typescript

The Tuple Type in Typescript

Reactions 13 Comments
4 min read
const assertions in Typescript

const assertions in Typescript

Reactions 7 Comments
3 min read