diff --git a/tests/baselines/reference/narrowingConstrainedTypeParameter.types b/tests/baselines/reference/narrowingConstrainedTypeParameter.types index adefb63ab88..942b9f7055d 100644 --- a/tests/baselines/reference/narrowingConstrainedTypeParameter.types +++ b/tests/baselines/reference/narrowingConstrainedTypeParameter.types @@ -43,7 +43,7 @@ export function speak(pet: TPet, voice: (pet: TPet) => string) throw new Error("Expected \"pet\" to be a Pet"); >new Error("Expected \"pet\" to be a Pet") : Error >Error : ErrorConstructor ->"Expected \"pet\" to be a Pet" : string +>"Expected \"pet\" to be a Pet" : "Expected \"pet\" to be a Pet" } return voice(pet); >voice(pet) : string