Kevin Schmidt
9b12b30100
Fix type check errors in ol/render/canvas/TextReplay
2018-10-02 12:39:45 -06:00
Kevin Schmidt
9ac00667b4
Fix type check errors in ol/render/canvas/Replay
2018-10-02 12:38:31 -06:00
Kevin Schmidt
452d5454cb
Fix type check errors in ol/render/canvas/Immediate
2018-10-02 12:32:37 -06:00
Andreas Hocevar
023ad3c531
Merge pull request #8757 from schmidtk/ts-typeof-ctor
...
Use typeof to simplify JSDoc class types
2018-10-01 18:33:35 +02:00
Kevin Schmidt
26f1cba808
Remove JSDoc to work around issue solved by typeof
2018-10-01 10:24:55 -06:00
Andreas Hocevar
31ac0eb406
Merge pull request #8761 from schmidtk/ts-feature-types
...
Allow returning RenderFeature in ol/format/Feature
2018-10-01 17:04:36 +02:00
Kevin Schmidt
c5a9d5b0bc
Move FeatureClass and FeatureLike to ol/Feature
2018-10-01 08:59:55 -06:00
Kevin Schmidt
7dbe38358a
Replace TileClass with typeof ImageTile
2018-10-01 08:37:01 -06:00
Kevin Schmidt
accdc79c05
Use typeof to simplify JSDoc class types
2018-10-01 08:30:06 -06:00
Kevin Schmidt
7056eb8536
Allow returning RenderFeature in ol/format/Feature
...
Resolves #8760
2018-10-01 08:24:30 -06:00
Kevin Schmidt
d6b99a5a25
Fix TS error and prevent extra string conversion
2018-10-01 07:29:16 -06:00
Frédéric Junod
a2c7eb80fd
Merge pull request #8736 from fredj/misc
...
Typescript misc fixes
2018-10-01 08:29:02 +02:00
Tim Schaub
6f1f85b729
Merge pull request #8741 from schmidtk/ts-geom
...
Fix TypeScript errors in ol/geom/*
2018-09-30 20:50:28 -07:00
Tim Schaub
2034e3f63b
Merge pull request #8707 from schmidtk/ts-format-feature
...
Fix TypeScript errors in ol/format/Feature
2018-09-30 20:41:55 -07:00
William Wall
831505c425
Fix type check in ol/math
...
tsc considers everything in the else block to be of type 'never',
since it thinks that cosh is permanently defined for Math. Casting
back to Math in the else block fixes the error.
2018-09-29 16:40:15 -06:00
Andreas Hocevar
b49f2448c7
Merge pull request #8744 from wallw-bits/fix-typecheck-vectortilesource
...
Fix type checks in VectorTileSource
2018-09-29 20:44:56 +02:00
Frédéric Junod
313b00b8f3
Merge pull request #8738 from schmidtk/ts-format-xmlfeature
...
Cast to parent type to fix TS errors
2018-09-29 08:23:29 +02:00
Frédéric Junod
5abcaebabc
Merge pull request #8737 from schmidtk/ts-format-topojson
...
Flag optional param to fix TS error
2018-09-29 08:18:09 +02:00
William Wall
a685e85c10
Fix type checks in VectorTileSource
...
Use typeof(Class) instead of defining a typedef for the tile class
2018-09-28 12:33:33 -06:00
Andreas Hocevar
9cbe9926b4
Merge pull request #8742 from wallw-bits/fix-typecheck-vectorsource-2
...
Fix type checks in Vector source
2018-09-28 18:20:46 +02:00
William Wall
0bbbd33bb1
Fix type check in Raster source
2018-09-28 09:38:33 -06:00
William Wall
4da372d515
Fix type checks in Vector source
...
The getResolutions override is unnecessary because the parent
implementation also returns undefined.
2018-09-28 09:24:55 -06:00
Kevin Schmidt
7d5a81d40f
Fix TypeScript errors in ol/geom/*
2018-09-28 09:00:28 -06:00
Kevin Schmidt
497aef7309
Cast to parent type to fix TS errors
2018-09-28 07:58:43 -06:00
Kevin Schmidt
73a48eb3d4
Flag optional param to fix TS error
2018-09-28 07:56:07 -06:00
Andreas Hocevar
63f583e148
Merge pull request #8733 from schmidtk/ts-format-wfs
...
Fix TypeScript errors in ol/format/WFS
2018-09-28 13:19:14 +02:00
Andreas Hocevar
54fa2bdc94
Merge pull request #8735 from schmidtk/ts-format-wkt
...
Fix TypeScript errors in ol/format/WKT
2018-09-28 12:45:09 +02:00
Frederic Junod
8c69380ef6
Fix wrong property name in Stroke constructor
2018-09-28 09:13:43 +02:00
Frederic Junod
3d9b1af105
Remove 'extent' properties from ol/source/Tile children classes
2018-09-28 09:13:43 +02:00
Frederic Junod
f58cd03f3b
Remove extra parameters
2018-09-28 09:13:43 +02:00
Andreas Hocevar
2e41302fc3
Merge pull request #8730 from schmidtk/ts-format-kml
...
Fix TypeScript errors in ol/format/KML
2018-09-28 08:31:32 +02:00
Frederic Junod
6ce56329dd
Fix wrong type
2018-09-28 08:21:12 +02:00
Kevin Schmidt
280741f8d1
Fix TypeScript errors in ol/format/WKT
2018-09-27 14:46:15 -06:00
Kevin Schmidt
d4d45001f6
Fix TypeScript errors in ol/format/WFS
2018-09-27 14:03:06 -06:00
Kevin Schmidt
f8d3c8e140
Fix TypeScript errors in ol/format/KML
2018-09-27 13:33:41 -06:00
William Wall
1ee0c50c8a
Fix type check in ol/source/Tile
...
Remove 'extent' because the parent Source class does not contain
'extent' on its options or use options.extent in the constructor.
Also removed 'extent' from 'Options' for 'TileSource'.
2018-09-27 10:47:51 -06:00
Frederic Junod
39951a792d
Dispatch a GeolocationError in Geolocation
...
See https://github.com/openlayers/openlayers/pull/8657#discussion_r219051918
2018-09-27 16:51:17 +02:00
Frederic Junod
05c0b77a52
Move functions out of the PointerEvent class
2018-09-27 13:49:18 +02:00
Frederic Junod
60c5d016a6
Remove unused 'opaque' property from ol/source/Stamen options
...
And set the `layer` property as mandatory.
2018-09-27 10:00:02 +02:00
Frederic Junod
7eee6ba07a
Remove '=' from type when the parameter is not optional
2018-09-27 10:00:02 +02:00
Frederic Junod
d8ee6acefa
Remove extra imports in jsdoc
2018-09-27 10:00:02 +02:00
Frédéric Junod
a4212abbb2
Merge pull request #8717 from fredj/ts_TileArcGISRest
...
Fix type checks in TileArcGISRest
2018-09-27 08:28:56 +02:00
Tim Schaub
2f51785968
Merge pull request #8718 from schmidtk/ts-format-gpx
...
Fix TypeScript errors in ol/format/GPX
2018-09-26 21:24:49 -07:00
Frédéric Junod
047f7ecf04
Merge pull request #8706 from schmidtk/ts-types-esrijson
...
Use EsriJSON types from @types/arcgis-rest-api
2018-09-26 15:56:27 +02:00
Frédéric Junod
277ecca881
Merge pull request #8709 from schmidtk/ts-format-geojson
...
Fix TypeScript errors in ol/format/GeoJSON
2018-09-26 15:54:20 +02:00
Frederic Junod
9cf7c71df8
Fix type checks in TileArcGISRest
2018-09-26 15:51:55 +02:00
Frédéric Junod
55b300082a
Merge pull request #8708 from wallw-bits/fix-typecheck-imagecanvas
...
Fix type checks in ImageCanvas source
2018-09-26 15:50:42 +02:00
Kevin Schmidt
922e3824fb
Fix TypeScript errors in ol/format/GPX
2018-09-26 07:38:12 -06:00
William Wall
d37e04e8f3
Fix type checks in ImageArcGISRest
...
Added proper @link tags to links in descriptions. Fixed unclosed
backtick. Made params optional like the description says.
2018-09-25 14:00:23 -06:00
Kevin Schmidt
a6223abdce
Fix TypeScript errors in ol/format/GeoJSON
2018-09-25 13:14:20 -06:00