mapkit-typescript
TypeScript icon, indicating that this package has built-in type declarations

5.18.2 • Public • Published

Build Status License Current Release

mapkit-typescript

TypeScript type definitions for MapKit JS.

Installation

First, install the types in your project:

# using npm 
npm install --save-dev mapkit-typescript
 
# using yarn 
yarn add --dev mapkit-typescript

Then, add node_modules/mapkit-typescript to your tsconifg.json file like so:

{
  "compilerOptions": {
    "typeRoots": [
      "node_modules/mapkit-typescript",
      "node_modules/@types"
    ]
  }
}

This will enable the TypeScript compiler to find and use this typing since it is not installed under node_modules/@types.

By default the compiler only looks at node_modules/@types for type declarations. If typeRoots does not already exist in the tsconfig.json file, make sure to include node_modules/@types as well.

Legal

MapKit and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.18.1-beta.00beta
5.18.2579latest

Version History

VersionDownloads (Last 7 Days)Published
5.18.2579
5.18.10
5.18.1-beta.00
5.18.00
5.13.30
5.13.3-beta.10
5.13.3-beta.00
5.13.20
5.13.2-beta.10
5.13.2-beta.00
5.13.10
5.13.1-beta.00
5.13.00
5.13.0-beta.00

Package Sidebar

Install

npm i mapkit-typescript

Weekly Downloads

579

Version

5.18.2

License

MIT

Unpacked Size

73.7 kB

Total Files

23

Last publish

Collaborators

  • wsmd