This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Write a simple conditional type that returns different types based on a condition, like IsString<T>.
You've completed the free preview. Subscribe to unlock every lesson in every course.