5.18.2 • Published 4 years ago

mapkit-typescript v5.18.2

Weekly downloads
1,425
License
MIT
Repository
github
Last release
4 years ago

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.

5.18.2

4 years ago

5.18.1-beta.0

4 years ago

5.18.1

4 years ago

5.18.0

5 years ago

5.13.3

5 years ago

5.13.3-beta.1

5 years ago

5.13.3-beta.0

5 years ago

5.13.2

5 years ago

5.13.2-beta.1

5 years ago

5.13.2-beta.0

5 years ago

5.13.1

5 years ago

5.13.1-beta.0

5 years ago

5.13.0

5 years ago

5.13.0-beta.0

5 years ago