mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
TS 4.1 changes Position -> GeolocationPosition (#47681)
Update ol to match.
This commit is contained in:
parent
81c224f5de
commit
c8f773c541
2
types/ol/Geolocation.d.ts
vendored
2
types/ol/Geolocation.d.ts
vendored
@ -74,7 +74,7 @@ export default class Geolocation extends BaseObject {
|
||||
un(type: 'propertychange', listener: (evt: ObjectEvent) => void): void;
|
||||
}
|
||||
declare class GeolocationError extends BaseEvent {
|
||||
constructor(error: PositionError);
|
||||
constructor(error: GeolocationPositionError);
|
||||
code: number;
|
||||
message: string;
|
||||
}
|
||||
|
||||
3
types/ol/index.d.ts
vendored
3
types/ol/index.d.ts
vendored
@ -2,8 +2,7 @@
|
||||
// Project: https://github.com/openlayers/openlayers, https://openlayers.org
|
||||
// Definitions by: Rifa'i M. Hanif <https://github.com/hanreev>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.1
|
||||
// Minimum TypeScript Version: 3.1
|
||||
// Minimum TypeScript Version: 4.1
|
||||
|
||||
// These definitions is generated using jsdoc. See https://github.com/hanreev/types-ol
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user