fix(plugins): fix optional options

This commit is contained in:
Ibrahim Hadeed
2016-03-13 20:39:40 -04:00
parent e708bc6be7
commit 9ef850c66a
6 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -69,7 +69,7 @@ export interface GeolocationOptions {
* retrieve the real current position. If set to Infinity the device must
* return a cached position regardless of its age. Default: 0.
*/
maximumAge: number;
maximumAge?: number;
/**
* Is a positive long value representing the maximum length of time
@@ -77,7 +77,7 @@ export interface GeolocationOptions {
* position. The default value is Infinity, meaning that getCurrentPosition()
* won't return until the position is available.
*/
timeout: number;
timeout?: number;
/**
* Indicates the application would like to receive the best possible results.
@@ -88,7 +88,7 @@ export interface GeolocationOptions {
* responding more quickly and/or using less power. Default: false.
* @type {boolean}
*/
enableHighAccuracy: boolean;
enableHighAccuracy?: boolean;
}