mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
react-native: Adding missing GeoLocation function: setRNConfiguration
This commit is contained in:
6
types/react-native/index.d.ts
vendored
6
types/react-native/index.d.ts
vendored
@@ -618,6 +618,10 @@ export interface ShadowPropTypesIOSStatic {
|
||||
shadowRadius: number
|
||||
}
|
||||
|
||||
type GeoConfiguration = {
|
||||
skipPermissionRequests: boolean;
|
||||
}
|
||||
|
||||
type GeoOptions = {
|
||||
timeout?: number,
|
||||
maximumAge?: number,
|
||||
@@ -8089,6 +8093,8 @@ export interface GeolocationStatic {
|
||||
stopObserving(): void
|
||||
|
||||
requestAuthorization(): void;
|
||||
|
||||
setRNConfiguration(config: GeoConfiguration): void;
|
||||
}
|
||||
|
||||
export interface OpenCameraDialogOptions {
|
||||
|
||||
Reference in New Issue
Block a user