DEV Community

How To TypeScript Series' Articles

Back to Chris Cook's Series
Array Filter: How to Filter Values With Correct Types

Array Filter: How to Filter Values With Correct Types

23
Comments 1
1 min read
Function Overloading: How to Handle Multiple Function Signatures

Function Overloading: How to Handle Multiple Function Signatures

20
Comments 9
2 min read
Conditional Return Types: How to Return the Right Type

Conditional Return Types: How to Return the Right Type

40
Comments 16
2 min read
Type Inference: How to Use Conditional Types and Generics

Type Inference: How to Use Conditional Types and Generics

22
Comments
3 min read
Type Negation: How to Forbid Certain Properties

Type Negation: How to Forbid Certain Properties

19
Comments 4
3 min read
Template Literal Types: How To Type Strings

Template Literal Types: How To Type Strings

19
Comments 1
2 min read
Extracting Class Methods: How To Derive an Interface From a Class

Extracting Class Methods: How To Derive an Interface From a Class

24
Comments 1
3 min read
Assertions: How to Assert Conditions and Types

Assertions: How to Assert Conditions and Types

29
Comments 1
3 min read
Optional vs. Undefined: How To Check for Optional Properties

Optional vs. Undefined: How To Check for Optional Properties

13
Comments
2 min read