5 lines
186 B
Plaintext
5 lines
186 B
Plaintext
==== tests/cases/compiler/propertyAccess3.ts (1 errors) ====
|
|
var foo: boolean;
|
|
foo.toBAZ();
|
|
~~~~~
|
|
!!! error TS2339: Property 'toBAZ' does not exist on type 'boolean'. |