We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const body: string | null = assertType<string | null>(null);
This simple test will cause a TypeGuardError to be thrown.