declare navigator to get rid of errors

This commit is contained in:
Ibby Hadeed 2016-07-17 02:44:10 -04:00
parent 1dbfd70724
commit e55c0c3e15

View File

@ -1,5 +1,6 @@
import {Plugin, Cordova, CordovaProperty} from './plugin';
import {Observable} from 'rxjs/Rx';
declare var navigator: any;
/**
* @name Media Capture
* @description
@ -8,7 +9,7 @@ import {Observable} from 'rxjs/Rx';
* import {MediaCapture} from 'ionic-native';
*
* ...
*
*
* let options: CaptureImageOptions = { limit: 3 };
* MediaCapture.captureImage(options)
* .then(