14 lines
No EOL
387 B
Text
14 lines
No EOL
387 B
Text
tests/cases/compiler/unknownTypeArgOnCall.ts(7,17): error TS2304: Cannot find name 'Uhhhh'.
|
|
|
|
|
|
==== 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>()
|
|
~~~~~
|
|
!!! error TS2304: Cannot find name 'Uhhhh'.
|
|
|