File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/baselines/reference Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -638,20 +638,20 @@ export abstract class BB {
638638// repro from https://github.com/microsoft/TypeScript/issues/54177#issuecomment-1538436654
639639function 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
643643conversionTest("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
648648function 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
652652conversionTest2("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
657657function foo(str: `${`a${string}` & `${string}a`}Test`) {}
You can’t perform that action at this time.
0 commit comments