TypeScript/tests/cases/compiler/genericCallWithFixedArguments.ts
2014-07-12 17:30:19 -07:00

7 lines
145 B
TypeScript

class A { foo() { } }
class B { bar() { }}
function g<T, U>(x) { }
g<A, B>(7) // the parameter list is fixed, so this should not error