Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Kevin Visscher
22d18908f7
Add option that can be set for CircleMarker ( #8912 )
2016-04-12 23:21:16 +09:00
Masahiro Wakame
36ccf2a567
Merge pull request #8240 from pwilczynski/bugfix/leafletClipSegment
...
Fix typings for Leaflet.LineUtils.clipSegement()
2016-03-31 01:08:43 +09:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
vvakame
39f22f95a3
change permission 0755 to 0644
2016-03-10 23:03:55 +09:00
Peter Wilczynski
71022e82f1
Fix typings for Leaflet.LineUtils.clipSegement()
2016-02-24 09:07:09 -08:00
Horiuchi_H
bc92442c07
change CRLF to LF
2016-02-08 12:01:16 +09:00
Horiuchi_H
49b044db23
Merge pull request #7925 from webbiesdk/leafletNoThatsNotTheSyntax
...
Leaflet: Wrong syntax.
2016-02-05 10:56:35 +09:00
Horiuchi_H
d9d6a23b68
Merge pull request #7923 from webbiesdk/leafetNotEveryClassExtendsClass
...
Leaflet: Not every class constructor inherits fields from the default ClassStatic
2016-02-05 10:53:31 +09:00
Horiuchi_H
2c765aea5e
Merge pull request #7921 from webbiesdk/leafletRemovedNonExistingFunction
...
Leaflet: Removed a function that doesn't exist.
2016-02-05 10:52:18 +09:00
Erik Krogh Kristensen
5c5e202bce
Leaflet: Wrong syntax.
2016-02-01 17:03:20 +01:00
Erik Krogh Kristensen
7c9e75f7c0
Not every class constructor inherits fields from the default ClassStatic.
2016-02-01 16:42:19 +01:00
Erik Krogh Kristensen
4d7c434b6b
Leaflet: Removed a function that doesn't exist.
2016-02-01 15:37:44 +01:00
Erik Krogh Kristensen
7a5d7b12cd
Leaflet: MultiPolygon was misspelled as MultiPolylgon.
2016-02-01 15:29:04 +01:00
Andrzej Gis
b2ee74c4c7
Add L.Map.eachLayer method typing
2015-12-07 18:34:03 +01:00
Basarat Ali Syed
aed176536a
Merge pull request #6694 from lediur/patch-1
...
Allow for custom keys in TileLayerOptions
2015-11-15 12:04:46 +11:00
Derrick Liu
5a1b81b6b8
Allow for custom keys in TileLayerOptions
...
According to https://github.com/Microsoft/TypeScript/issues/3755 , properties not previously defined in a type will now be marked as errors during compilation in TypeScript 1.6 and later.
Since a TileLayerOptions object is dynamically evaluated for custom properties that might be used in a provided tile URL template, the TypeScript change breaks this functionality.
The proposed change adds a string indexer (one of the suggested changes in the link above), which fixes the issue.
2015-11-09 20:14:06 -08:00
Martin D
b6e9e60849
Update leaflet.d.ts
...
Clearer syntax
2015-11-05 09:30:42 -05:00
Martin D
34b2fc23d8
IconOptions to accept arrays and point objects
...
All Leaflet methods and options that accept Point objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:
http://leafletjs.com/reference.html#point
2015-10-27 16:43:24 -04:00
Masahiro Wakame
18052c07df
Merge pull request #5902 from rimig/leaflet-layercontrolevent
...
Leaflet: Add LeafletLayersControlEvent
2015-09-27 10:44:37 +09:00
Robert Imig
46816bd92d
Leaflet: Add LeafletLayersControlEvent
2015-09-18 14:12:25 -04:00
Daniel Rosenwasser
0842cf93ef
Namespaces are one honking great idea -- let's do more of those in 'leaflet'.
2015-09-17 15:16:55 -07:00
Daniel Rosenwasser
71a002c31c
Added test for 'L.control.zoom' in 'leaflet'.
2015-09-17 15:15:44 -07:00
Daniel Rosenwasser
9f812bdeed
Tabs to spaces for consistency with .d.ts.
2015-09-17 15:07:49 -07:00
Daniel Rosenwasser
1831947dda
module -> namespace in 'leaflet'.
2015-09-17 14:51:38 -07:00
Daniel Rosenwasser
d9a282f528
Fix excess object literal errors in 'leaflet'.
2015-08-12 16:59:16 -07:00
Jiayu Liu
3178b58f3b
PathOptions.pointerEvents
...
PathOptions.pointerEvents should be string instead of boolean, see http://leafletjs.com/reference.html#path-pointerevents and https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events
2015-06-29 17:07:07 -07:00
Masahiro Wakame
03ec16694a
Merge pull request #4649 from Jimexist/patch-2
...
PolylineOptions should extend PathOption
2015-06-23 01:55:25 +09:00
Jiayu Liu
61a910b70f
Canvas should extend TileLayer
...
As per [document](http://leafletjs.com/reference.html#tilelayer-canvas ), the `Canvas` interface should extend `TileLayer`
2015-06-15 17:23:06 -07:00
Jiayu Liu
257f64d394
PolylineOptions should extend PathOption
...
`PolylineOptions` should extend `PathOptions`, so that user could supply options in the base class
2015-06-15 11:32:45 -07:00
Jiayu Liu
70e7942287
L.LineUtil.closestPointOnSegment update
...
[L.LineUtil.closestPointOnSegment](http://leafletjs.com/reference.html#lineutil-closestpointonsegment ) should return L.Point rather than number
2015-06-09 15:06:04 -07:00
Joseph Rossi
0dc8eda72d
Leaflet: Adding LatLngExpress and LatLngBounds expression types
...
According to the leaflet documentation latLng objects can be specified
using one of three notations (http://leafletjs.com/reference.html#latlng ).
The type definition for LatLngExpression addresses this. Additonally,
LatLngBounds can be represented as an array of LatLng expressions
(https://github.com/Leaflet/Leaflet/blob/master/src/geo/LatLngBounds.js#L18 ).
The type LatLngBoundsExpression reflects this property.
2015-04-15 16:50:25 -04:00
Jason Plante
ccbabf73c7
Added cardinal properties to L.LatLngBounds
...
Added the following property methods to the L.LatLngBounds class:
getWest()
getEast()
getNorth()
getSouth()
2015-04-13 13:34:15 -04:00
Tobias Bengfort
7e957ea49b
Strip Whitespace
2015-03-25 16:56:11 +01:00
Tobias Bengfort
1fa293c651
coordsToLatLngs may take number[] or number[][] or number[][][]...
2015-03-25 16:55:49 +01:00
Tobias Bengfort
ce9ef6f36e
fix capitalization error
2015-03-25 16:55:12 +01:00
Wim Looman
6b9d4f648b
Add test/example of semi-typesafe extending of leaflet classes
2015-02-22 18:07:29 +13:00
Wim Looman
45246054b2
Use static interfaces for constructors to allow extend access
2015-02-13 10:38:04 +13:00
Wim Looman
427d97003e
Change leaflet to use interfaces to allow for plugins
2015-02-12 16:22:00 +13:00
Yang Guan
343b20868e
Update typing files for leaflet
2015-01-09 13:51:38 -08:00
Masahiro Wakame
18ae0809e8
Merge pull request #2963 from enternet/patch-1
...
Minor fixes
2014-10-14 11:15:57 +09:00