File tree 1 file changed +2
-2
lines changed
tests/cases/conformance/types/literal
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 {
202
202
}
203
203
204
204
// 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` & { } ) { }
206
206
conversionTest ( "testDowncast" ) ;
207
- function conversionTest2 ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | `${ { } & string } Downcast`) { }
207
+ function conversionTest2 ( groupName : | "downcast" | "dataDowncast" | "editingDowncast" | { } & `${ string } Downcast`) { }
208
208
conversionTest2 ( "testDowncast" ) ;
209
209
210
210
function foo ( str : `${`a${string } ` & `${string } a`} Test`) { }
You can’t perform that action at this time.
0 commit comments