Skip to content

Commit f45b6dd

Browse files
committed
Accept new baselines
1 parent 7fa9179 commit f45b6dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/templateLiteralTypesPatterns.types

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -638,20 +638,20 @@ export abstract class BB {
638638
// repro from https://github.com/microsoft/TypeScript/issues/54177#issuecomment-1538436654
639639
function conversionTest(groupName: | "downcast" | "dataDowncast" | "editingDowncast" | `${string & {}}Downcast`) {}
640640
>conversionTest : (groupName: "downcast" | "dataDowncast" | "editingDowncast" | `${string & {}}Downcast`) => void
641-
>groupName : `${string & {}}Downcast` | "downcast" | "dataDowncast" | "editingDowncast"
641+
>groupName : `${string & {}}Downcast` | "downcast"
642642

643643
conversionTest("testDowncast");
644644
>conversionTest("testDowncast") : void
645-
>conversionTest : (groupName: `${string & {}}Downcast` | "downcast" | "dataDowncast" | "editingDowncast") => void
645+
>conversionTest : (groupName: `${string & {}}Downcast` | "downcast") => void
646646
>"testDowncast" : "testDowncast"
647647

648648
function conversionTest2(groupName: | "downcast" | "dataDowncast" | "editingDowncast" | `${{} & string}Downcast`) {}
649649
>conversionTest2 : (groupName: "downcast" | "dataDowncast" | "editingDowncast" | `${{} & string}Downcast`) => void
650-
>groupName : "downcast" | "dataDowncast" | "editingDowncast" | `${{} & string}Downcast`
650+
>groupName : "downcast" | `${{} & string}Downcast`
651651

652652
conversionTest2("testDowncast");
653653
>conversionTest2("testDowncast") : void
654-
>conversionTest2 : (groupName: "downcast" | "dataDowncast" | "editingDowncast" | `${{} & string}Downcast`) => void
654+
>conversionTest2 : (groupName: "downcast" | `${{} & string}Downcast`) => void
655655
>"testDowncast" : "testDowncast"
656656

657657
function foo(str: `${`a${string}` & `${string}a`}Test`) {}

0 commit comments

Comments
 (0)