amap-js-api-typings
v1.0.1
Published
Type definitions for JavaScript APIs of AMap in TypeScript
Downloads
31
Maintainers
Readme
amap-js-api-typings
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