10 lines
No EOL
456 B
Text
10 lines
No EOL
456 B
Text
==== 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>{}; |