Skip to content

缺少很多类型,另外相当一部分的方法的接口声明又问题 #4

@chudongvip

Description

@chudongvip
  • 缺少 AMap.GeocoderAMap.MarkerCluster 类型
  • 官方的示例中未填写参数,然后引入@amap/amap-jsapi-types之后提示我缺少参数。eg: map.setFitViewAMap.InfoWindow .open

在 TS 项目已经严重影响到我开发了,目前只能将 AMap 设置为 any.

PS:另外项目中的 import 倒入类型显得十分外行,应该通过 tsconfig.json 或者 /// <reference types="@amap/amap-jsapi-types" /> 导入

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