Socket
Socket
Sign inDemoInstall

mapkit-typescript

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mapkit-typescript

Typescript type definitions for MapKit JS


Version published
Weekly downloads
498
increased by7.33%
Maintainers
1
Install size
72.0 kB
Created
Weekly downloads
 

Readme

Source

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.

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

Keywords

FAQs

Last updated on 14 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc