TypeScript/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.errors.txt

11 lines
310 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/invokingNonGenericMethodWithTypeArguments2.ts (1 errors) ====
class Foo {
private foo: any;
constructor() {
this.foo<string>();
~~~~~~~~~~~~~~~~~~
!!! Untyped function calls may not accept type arguments.
}
}