Code QuizAdvanced

NonNullable Takes One Argument

Learn that NonNullable strips null and undefined from a single type.

Codetypescript
type MaybeName = string | null | undefined;

type Name = NonNullable<MaybeName, string>;

What is the bug in this code?