2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/invokingNonGenericMethodWithTypeArguments2.ts(5,9): error TS2347: Untyped function calls may not accept type arguments.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/invokingNonGenericMethodWithTypeArguments2.ts (1 errors) ====
|
|
|
|
class Foo {
|
|
|
|
private foo: any;
|
|
|
|
|
|
|
|
constructor() {
|
|
|
|
this.foo<string>();
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2347: Untyped function calls may not accept type arguments.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|