Commit Graph

3 Commits

Author SHA1 Message Date
Teemu Virta
874b372f1f Fix(react-leaflet): Add interaction events to layer (#14085)
The `LeafletInteractionEvents` typing was missing from `LayerProps` , which caused issues with eg. `FeatureGroup`.

See details here
(http://leafletjs.com/reference-1.0.0.html#layer)

Please fill in this template.

 - [x] Make your PR against the master branch.
 - [x]  Use a meaningful title for the pull request. Include the name of the package modified.
 - [x]  Test the change in your own code. (Compile and run.)
 - [x]  Follow the advice from the readme.
 - [x]  Avoid common mistakes.
 - [x]  Run tsc without errors.
Select one of these and delete the others:

If changing an existing definition:

 - [x]  Provide a URL to documentation or source code which provides context for the suggested changes: <>
N/A Increase the version number in the header if appropriate.
N/A If you are making substantial changes, consider adding a tslint.json containing { "extends": "../tslint.json" }.
2017-01-18 12:53:47 -08:00
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Dave Leaver
0c0a06e1c2 Add react-leaflet (#13922)
* Add react-leaflet, required some additional leaflet work

* 4 spaces

* Fix tests, typescript 2.1

* Fix tslint fails. Have disabled no-empty-interface as things get ugly when trying to be clean for it.

* Fix leaflet-geocoder-mapzen

* Remove a lot of extra unnecessary interface definitions and be mostly no-empty-interface safe. There are a few small ones I have retained.

* Use type instead of another interface
2017-01-13 07:24:24 -08:00