declare navigator to get rid of errors
This commit is contained in:
parent
1dbfd70724
commit
e55c0c3e15
@ -1,5 +1,6 @@
|
|||||||
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
||||||
import {Observable} from 'rxjs/Rx';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
declare var navigator: any;
|
||||||
/**
|
/**
|
||||||
* @name Media Capture
|
* @name Media Capture
|
||||||
* @description
|
* @description
|
||||||
@ -8,7 +9,7 @@ import {Observable} from 'rxjs/Rx';
|
|||||||
* import {MediaCapture} from 'ionic-native';
|
* import {MediaCapture} from 'ionic-native';
|
||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
* let options: CaptureImageOptions = { limit: 3 };
|
* let options: CaptureImageOptions = { limit: 3 };
|
||||||
* MediaCapture.captureImage(options)
|
* MediaCapture.captureImage(options)
|
||||||
* .then(
|
* .then(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user