TypeScript/tests/baselines/reference/indexer2A.errors.txt
2014-07-31 11:06:42 -07:00

10 lines
456 B
Plaintext

==== tests/cases/compiler/indexer2A.ts (1 errors) ====
class IHeapObjectProperty { }
class IDirectChildrenMap {
// Decided to enforce a semicolon after declarations
hasOwnProperty(objectId: number): boolean
~~~~~~~~~~~~~~
!!! Function implementation is missing or not immediately following the declaration.
[objectId: number]: IHeapObjectProperty[]
}
var directChildrenMap = <IDirectChildrenMap>{};