Merge pull request #11762 from openlayers/dependabot/npm_and_yarn/typescript-4.1.2
Bump typescript from 4.0.5 to 4.1.2
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -12828,9 +12828,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.0.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",
|
||||
"integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz",
|
||||
"integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"typical": {
|
||||
|
||||
@@ -34,7 +34,7 @@ const Property = {
|
||||
*/
|
||||
class GeolocationError extends BaseEvent {
|
||||
/**
|
||||
* @param {PositionError} error error object.
|
||||
* @param {GeolocationPositionError} error error object.
|
||||
*/
|
||||
constructor(error) {
|
||||
super(EventType.ERROR);
|
||||
@@ -176,7 +176,7 @@ class Geolocation extends BaseObject {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {Position} position position event.
|
||||
* @param {GeolocationPosition} position position event.
|
||||
*/
|
||||
positionChange_(position) {
|
||||
const coords = position.coords;
|
||||
@@ -210,7 +210,7 @@ class Geolocation extends BaseObject {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {PositionError} error error object.
|
||||
* @param {GeolocationPositionError} error error object.
|
||||
*/
|
||||
positionError_(error) {
|
||||
this.dispatchEvent(new GeolocationError(error));
|
||||
|
||||
Reference in New Issue
Block a user