11 lines
No EOL
276 B
Text
11 lines
No EOL
276 B
Text
==== tests/cases/compiler/unknownTypeArgOnCall.ts (1 errors) ====
|
|
class Foo<T> {
|
|
public clone<U>() {
|
|
return null;
|
|
}
|
|
}
|
|
var f = new Foo<number>();
|
|
var r = f.clone<Uhhhh>()
|
|
~~~~~
|
|
!!! Cannot find name 'Uhhhh'.
|
|
|