Florent gravin
25ade66017
Fix type conflict between Event and events/Event.js
2018-09-19 16:48:51 +02:00
Florent gravin
f3fb88905e
Use window.setTimeout for correct type checking
2018-09-19 16:48:51 +02:00
Florent gravin
e740e7577a
Secure type of HTMLImageElement in ImageTile
2018-09-19 16:48:51 +02:00
Florent gravin
d062904cc1
Correct ol event type propagation in Geolocation positionError
2018-09-19 16:48:51 +02:00
Florent gravin
cd169ede0d
Correct cast of Projection in Geometry.transform
2018-09-19 16:48:51 +02:00
Florent gravin
bd655b325d
Implement Geometry containsXY with correct signature
2018-09-19 16:48:51 +02:00
Florent gravin
7f32ba4216
Use Style instead of import(./style/Style.js).default
2018-09-19 16:47:51 +02:00
Florent gravin
109f16f717
Use Geometry instead of import(./geom/Geometry.js).default
2018-09-19 16:47:51 +02:00
Florent gravin
b3127f86be
Fix cast for Geometry type
2018-09-19 16:47:51 +02:00
Florent gravin
e25d053ba6
Featureloader this reference can also be ol.VectorTile
2018-09-19 16:43:10 +02:00
Frederic Junod
3029a07c1a
Fix source type in Raster source
...
The `sources` is an array of layer or source
2018-09-19 15:34:34 +02:00
Frédéric Junod
978b039ddc
Merge pull request #8654 from fredj/import
...
Remove extra imports in jsdoc
2018-09-19 15:12:10 +02:00
Frédéric Junod
65066a0505
Merge pull request #8655 from fredj/webkit_touch
...
Remove webkit specific properties from Touch
2018-09-19 15:05:20 +02:00
Frédéric Junod
43bc3020a1
Merge pull request #8663 from schmidtk/ts-vendor-fullscreen
...
Add vendor-specific TS declarations for the Fullscreen API.
2018-09-19 15:05:05 +02:00
Frédéric Junod
5f63575106
Merge pull request #8658 from fredj/proto_void
...
Don't define functions in the prototype
2018-09-19 14:53:59 +02:00
Frederic Junod
9c52e0d6d9
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-19 14:52:58 +02:00
Tim Schaub
77dbf2fdb0
Merge pull request #8662 from wallw-bits/fix-typecheck-ol-tile
...
Explicitly define type of 'this'
2018-09-19 06:50:59 -06:00
Tim Schaub
ad399246a3
Merge pull request #8664 from schmidtk/ts-listener-fn
...
Add native Event to ListenerFunction signature.
2018-09-19 06:47:18 -06:00
Frédéric Junod
23be1ac56d
Merge pull request #8668 from fredj/module_doc
...
Add missing 'module' annotation
2018-09-19 14:07:09 +02:00
Frederic Junod
600d156d01
Add missing 'module' annotation
2018-09-19 11:51:34 +02:00
Frédéric Junod
40227db7be
Merge pull request #8656 from openlayers/greenkeeper/rollup-plugin-commonjs-9.1.8
...
chore(package): update rollup-plugin-commonjs to version 9.1.8
2018-09-19 11:29:51 +02:00
Frederic Junod
54cdaddf3a
Don't use Chrome only ALLOW_KEYBOARD_INPUT param
2018-09-19 11:12:27 +02:00
Frédéric Junod
5a62d403c0
Merge pull request #8667 from openlayers/greenkeeper/uglifyjs-webpack-plugin-2.0.1
...
chore(package): update uglifyjs-webpack-plugin to version 2.0.1
2018-09-19 09:26:28 +02:00
Frédéric Junod
eade74384a
Merge pull request #8661 from openlayers/greenkeeper/webpack-4.19.1
...
Update webpack to the latest version 🚀
2018-09-19 09:24:58 +02:00
Frederic Junod
31c392b63c
Remove containsXY function from ol/geom/SimpleGeometry
...
The function is already present in the base class (ol/geom/Geometry)
2018-09-19 08:40:14 +02:00
Frederic Junod
7cb85fa975
Don't define functions in the prototype
...
If `VOID` is used, TypeScript is not able to figure out what the function parameters are.
Before:
```
$ npx tsc | wc -l
1188
```
After:
```
$ npx tsc | wc -l
1169
```
2018-09-19 08:40:14 +02:00
Kevin Schmidt
f8396d8f35
Fix condition TypeScript errors
2018-09-18 15:29:13 -06:00
Kevin Schmidt
4d26ab751d
Add vendor-specific TS declarations for the Fullscreen API.
...
Fixes #8660 .
2018-09-18 13:22:55 -06:00
Kevin Schmidt
f819ed137b
Add native Event to ListenerFunction signature.
2018-09-18 13:10:36 -06:00
greenkeeper[bot]
91d31b57ec
chore(package): update uglifyjs-webpack-plugin to version 2.0.1
...
Closes #8639
2018-09-18 17:00:44 +00:00
William Wall
1fbefcab64
Explicitly define type of 'this'
...
I'm not entirely sure that I like this pattern, but there does not
appear to be a better option since TypeScript would recommend:
function(this: SomeClass, ...)
tsdoc does not appear to support an associated annotation for the
function a la @this {SomeClass}.
2018-09-18 10:38:23 -06:00
greenkeeper[bot]
b2bcbcbc04
chore(package): update webpack to version 4.19.1
2018-09-18 14:27:10 +00:00
Frederic Junod
960b433a2c
Remove webkit specific properties from Touch
...
Remove the following errors from the TypeScript checks:
```
src/ol/pointer/TouchSource.js(231,23): error TS2339: Property 'webkitRadiusX' does not exist on type 'Touch'.
src/ol/pointer/TouchSource.js(232,24): error TS2339: Property 'webkitRadiusY' does not exist on type 'Touch'.
src/ol/pointer/TouchSource.js(233,26): error TS2339: Property 'webkitForce' does not exist on type 'Touch'.
```
The only reference that I've found for these properties is a warning message from Google Chrome:
```
'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead.
```
2018-09-18 13:36:38 +02:00
greenkeeper[bot]
d777a6319b
chore(package): update rollup-plugin-commonjs to version 9.1.8
...
Closes #8653
2018-09-18 10:54:15 +00:00
Frédéric Junod
5910e4d207
Merge pull request #8644 from openlayers/greenkeeper/rollup-0.66.0
...
Update rollup to the latest version 🚀
2018-09-18 09:12:34 +02:00
Tim Schaub
340a446b51
Merge pull request #8643 from schmidtk/style-typescript-cleanup
...
Fix style TypeScript errors
2018-09-17 14:35:50 -06:00
Kevin Schmidt
124fccf127
Fix style TypeScript errors
2018-09-17 12:38:00 -06:00
greenkeeper[bot]
74417a05d0
chore(package): update mustache to version 3.0.0
2018-09-16 20:43:30 +00:00
greenkeeper[bot]
3ffd7683d5
chore(package): update rollup-plugin-uglify to version 6.0.0
2018-09-16 14:12:44 +00:00
greenkeeper[bot]
457cbc9d9b
chore(package): update rollup to version 0.66.0
2018-09-16 08:42:40 +00:00
Andreas Hocevar
7912c5d711
Merge pull request #8638 from ahocevar/fix-haslistener-check
...
Fix event type in hasListener check
2018-09-15 09:08:55 +02:00
ahocevar
90403421af
Fix event type in hasListener check
2018-09-14 18:15:18 +02:00
Frédéric Junod
fe0ac80ba4
Merge pull request #8618 from fredj/topojson_types
...
Use TopoJSON types from @types/topojson
2018-09-14 13:09:43 +02:00
Frederic Junod
ba53b5e8aa
Quotes topojson properties
2018-09-14 13:02:30 +02:00
Frederic Junod
abc3279752
Use TopoJSON types from @types/topojson
2018-09-14 13:02:30 +02:00
Frédéric Junod
84c689d456
Merge pull request #8619 from fredj/typing
...
Remove wrong Geometry type in KML format
2018-09-14 12:46:31 +02:00
Andreas Hocevar
693d1b24c6
Merge pull request #8631 from openlayers/greenkeeper/webpack-4.19.0
...
Update webpack to the latest version 🚀
2018-09-14 10:32:01 +02:00
greenkeeper[bot]
cdaca7b0ff
chore(package): update webpack to version 4.19.0
2018-09-14 06:02:06 +00:00
Andreas Hocevar
3ccfc2ea61
Merge pull request #8630 from openlayers/greenkeeper/webpack-4.18.1
...
Update webpack to the latest version 🚀
2018-09-13 17:14:58 +02:00
greenkeeper[bot]
b351eaef29
chore(package): update webpack to version 4.18.1
2018-09-13 12:51:18 +00:00