9 lines
258 B
Text
9 lines
258 B
Text
|
==== tests/cases/compiler/invokingNonGenericMethodWithTypeArguments1.ts (1 errors) ====
|
||
|
class Foo {
|
||
|
constructor() {
|
||
|
this.foo<string>();
|
||
|
~~~
|
||
|
!!! Property 'foo' does not exist on type 'Foo'.
|
||
|
}
|
||
|
}
|
||
|
|