Skip to content

Commit

Permalink
Fix TS2304 (DefinitelyTyped#47778)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-fyi committed Sep 20, 2020
1 parent e96ddce commit 33c1dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/ol/Geolocation.d.ts
Expand Up @@ -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: GeolocationPositionError);
constructor(error: PositionError);
code: number;
message: string;
}

0 comments on commit 33c1dce

Please sign in to comment.