TypeScript/tests/baselines/reference/indexer2A.errors.txt

13 lines
610 B
Plaintext
Raw Normal View History

tests/cases/compiler/indexer2A.ts(4,5): error TS2391: Function implementation is missing or not immediately following the declaration.
2015-01-24 17:04:23 +01:00
==== tests/cases/compiler/indexer2A.ts (1 errors) ====
2014-07-13 01:04:16 +02:00
class IHeapObjectProperty { }
class IDirectChildrenMap {
// Decided to enforce a semicolon after declarations
hasOwnProperty(objectId: number): boolean
2014-07-31 01:27:13 +02:00
~~~~~~~~~~~~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
[objectId: number]: IHeapObjectProperty[]
}
2015-01-24 17:04:23 +01:00
var directChildrenMap = <IDirectChildrenMap>{};