Skip to content

TypeScript definition errors #132

Open
@OrangeDog

Description

@OrangeDog

There seems to be no public issue tracker for the library itself, so I'm putting this here for now.

There are several errors in the index.d.ts in @here/[email protected].
These require the use of // @ts-ignore to skip type checking in order to use the API.

Those that I have noticed:

  • H.geo.Point.validate has this : H.geo.Point as the first argument, which should not be present in a static method
  • Multiple classes have data as a required member when (according to the documentation) it should be optional.
    • H.map.AbstractMarker.Options
    • H.map.Circle.Options
    • H.map.DomMarker.Options
    • H.map.Group.Options
    • H.map.Marker.Options
    • H.map.Object.Options
    • H.map.Overlay.Options
    • H.map.Polygon.Options
    • H.map.Polyline.Options
    • H.map.Rect.Options
    • H.map.Spatial.Options
    • H.map.provider.Tile
    • H.ui.base.Button.Options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions