File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/cases/conformance/types/literal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,9 @@ export abstract class BB {
202202}
203203
204204// repro from https://github.com/microsoft/TypeScript/issues/54177#issuecomment-1538436654
205- function conversionTest ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | `${string & { } } Downcast` ) { }
205+ function conversionTest ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | `${string } Downcast` & { } ) { }
206206conversionTest ( "testDowncast" ) ;
207- function conversionTest2 ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | `${ { } & string } Downcast`) { }
207+ function conversionTest2 ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | { } & `${ string } Downcast`) { }
208208conversionTest2 ( "testDowncast" ) ;
209209
210210function foo ( str : `${`a${string } ` & `${string } a`} Test`) { }
You can’t perform that action at this time.
0 commit comments