Skip to content

Commit

Permalink
Update type definitions. Add instructions. (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
filoxo authored and lucaswoj committed Sep 26, 2016
1 parent 24f2135 commit e0e3a67
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ import mapboxgl from 'mapbox-gl/dist/mapbox-gl.js';

These projects are written and maintained by the GL JS community. Feel free to open a PR add your own projects to this list. We :heart: third party projects!

- [Typescript Interface Definition](https://github.com/Smartrak/mapbox-gl-js-typescript)
- [Typescript Definitions are available through DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/mapbox-gl)

- Install using `typings`:

typings install dt~geojson dt~mapbox-gl --save --global

- Install using `@types` for Typescript v2 or later:

npm install @types/geojson @types/mapbox-gl --save

- [Webtoolkit Integration](https://github.com/yvanvds/wtMapbox)

## Using Mapbox GL JS with [CSP](https://developer.mozilla.org/en-US/docs/Web/Security/CSP)
Expand Down

0 comments on commit e0e3a67

Please sign in to comment.