mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added test in case 'super' is ever possibly parsed as a tagged template string.
This commit is contained in:
@@ -28,4 +28,14 @@ const d = new tag<number> `${"hello"} ${"world"}`<string>(100, 200);
|
||||
* ```
|
||||
*/
|
||||
const e = new tag<number>
|
||||
`hello`();
|
||||
`hello`();
|
||||
|
||||
class SomeBase<A, B, C> {
|
||||
a!: A; b!: B; c!: C;
|
||||
}
|
||||
|
||||
class SomeDerived<T> extends SomeBase<number, string, T> {
|
||||
constructor() {
|
||||
super<number, string, T> `hello world`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user