Course contentsShow
TypeScript
Lesson 434 of 1,79610. Intersection TypesPro lesson

Intersections with Primitives

Intersecting primitive types like string & number results in never since no value can be both simultaneously.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.