项目作者: keqingrong

项目描述 :
Type definitions for JavaScript APIs of AMap in TypeScript
高级语言: TypeScript
项目地址: git://github.com/keqingrong/amap-js-api-typings.git
创建时间: 2019-08-10T12:34:24Z
项目社区:https://github.com/keqingrong/amap-js-api-typings

开源协议:MIT License

下载


amap-js-api-typings

npm version

Type definitions for JavaScript APIs of AMap in TypeScript

English | 简体中文

Installation

  1. npm install amap-js-api-typings

Usage

Add the types package to your tsconfig.json file. For example:

  1. {
  2. "compilerOptions": {
  3. "typeRoots" : [
  4. "./node_modules/@types",
  5. "./node_modules/amap-js-api-typings",
  6. "./typings",
  7. ]
  8. }
  9. }

Or you could use it with triple-slash directive. For example:

  1. // ./typings/global.d.ts
  2. /// <reference types="amap-js-api-typings" ></reference>

Thanks

Special thanks to the @types/amap-js-api contributors, especially breeze9527.

Contributing

PRs accepted.

License

MIT © Qingrong Ke