Commit Graph

9 Commits

Author SHA1 Message Date
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
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Andy
8841dfc744 Use index.d.ts only (not foo/foo.d.ts) (#12834)
* Use index.d.ts only (not foo/foo.d.ts)

* Convert more packages

* Remove unnecessary references
2016-11-21 12:58:06 -08:00
Andy Hanson
fb972b28d2 Fix tests, rename things to index.d.ts, use <reference types="xxx">, and add tsconfig.jsons. 2016-09-21 11:17:26 -07:00
Andy Hanson
91d1d6d60f Merge remote-tracking branch 'origin/master' into merge_21sep 2016-09-21 09:45:05 -07:00
Alejandro Sánchez
1adaa22d7a [WIP] Add type definitions for Leaflet 1.0 (#11165)
* Rename leaflet.d.ts to leaflet-0.7.d.ts

* Defined several important interfaces and the skeleton of some others

* Started adding tests

* Added more interfaces, factory methods and tests

* Implemented other interfaces and nested namespaces

* Added more types
2016-09-19 16:07:25 +09:00
Andy Hanson
28ef3d201b Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/> 2016-09-16 08:59:57 -07:00
Leonard Lausen
0bc3512b98 Add leaflet-geocoder-mapzen
type declarations and tests for the basic usage of
leaflet-geocoder-mapzen.
Does not include the advanced usage patterns:
https://github.com/mapzen/leaflet-geocoder/#advanced-usage
2016-08-11 15:04:10 +10:00