@amap/amap-loca-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@amap/amap-loca-types

@amap/amap-loca-types 是高德Loca 2.0 的typings文件。

安装

npm i -S @amap/amap-loca-types

用法

tsconfig.json配置示例

配置types

{
  "compilerOptions": {
    "types": ["@amap/amap-loca-types"]
  }
}

配置files

{
  "files": ["node_modules/@amap/amap-jsapi-types/index.d.ts", "node_modules/@amap/amap-loca-types/index.d.ts"]
}

ts文件使用

/// <reference types="@amap/amap-loca-types" />

/@amap/amap-loca-types/

    Package Sidebar

    Install

    npm i @amap/amap-loca-types

    Weekly Downloads

    17

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    46.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • duxiaohui
    • phlicess
    • fxxjdedd
    • qfish
    • mengmeng.du