mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-07 06:28:26 +08:00
Merge pull request #230 from Steve-Fenton/patch-3
Update phonegap/phonegap.d.ts
This commit is contained in:
8
phonegap/phonegap.d.ts
vendored
8
phonegap/phonegap.d.ts
vendored
@@ -288,12 +288,6 @@ interface GeolocationOptions {
|
||||
maximumAge?: number;
|
||||
}
|
||||
|
||||
interface Geolocation {
|
||||
getCurrentPosition(geolocationSuccess: (position: Position) => void , geolocationError?: PositionErrorCallback, geolocationOptions?: GeolocationOptions): void;
|
||||
watchPosition(geolocationSuccess: (position: Position) => void , geolocationError?: PositionErrorCallback, geolocationOptions?: GeolocationOptions): void;
|
||||
clearWatch(watchID: number): void;
|
||||
}
|
||||
|
||||
interface GlobalizationError {
|
||||
code: number;
|
||||
message: string;
|
||||
@@ -391,4 +385,4 @@ interface Navigator {
|
||||
|
||||
interface Window {
|
||||
openDatabase(database_name: string, database_version: string, database_displayname: string, database_size: number): Database;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user