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

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

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

Custom Type Guards in Typescript

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

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

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?

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

The Tuple Type in Typescript

13
Comments
4 min read
const assertions in Typescript

const assertions in Typescript

7
Comments
3 min read