Skip to content

yckjz/amap-js-api-typings

 
 

Repository files navigation

amap-js-api-typings

npm version

Type definitions for JavaScript APIs of AMap in TypeScript

English | 简体中文

Installation

npm install amap-js-api-typings

Usage

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

{
  "compilerOptions": {
    "typeRoots" : [
      "./node_modules/@types",
      "./node_modules/amap-js-api-typings",
      "./typings",
    ]
  }
}

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

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

Thanks

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

Contributing

PRs accepted.

License

MIT © Qingrong Ke

About

Type definitions for JavaScript APIs of AMap in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%