TypeScript/tests/baselines/reference/indexer2A.errors.txt
2015-01-24 08:04:23 -08:00

13 lines
610 B
Plaintext

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