mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
11 lines
206 B
TypeScript
11 lines
206 B
TypeScript
function f(n: any) { return null; }
|
|
function g<A, B>(x: any) { return null; }
|
|
interface A { }
|
|
interface B { }
|
|
var A, B;
|
|
|
|
f(g<A, B>(7));
|
|
f(g < A, B > 7); // Should error
|
|
f(g < A, B > +(7)); // Should error
|
|
|