mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
chore(): set code type to typescript
This commit is contained in:
parent
5da4732787
commit
648fc7e062
@ -16,7 +16,7 @@ For the full Ionic Native documentation, please visit [http://ionicframework.com
|
|||||||
|
|
||||||
Ionic Native wraps plugin callbacks in a Promise or [Observable](https://gist.github.com/staltz/868e7e9bc2a7b8c1f754), providing a common interface for all plugins and ensuring that native events trigger change detection in Angular 2.
|
Ionic Native wraps plugin callbacks in a Promise or [Observable](https://gist.github.com/staltz/868e7e9bc2a7b8c1f754), providing a common interface for all plugins and ensuring that native events trigger change detection in Angular 2.
|
||||||
|
|
||||||
```
|
```typescript
|
||||||
import { Geolocation } from '@ionic-native/geolocation';
|
import { Geolocation } from '@ionic-native/geolocation';
|
||||||
import { Platform } from 'ionic-angular';
|
import { Platform } from 'ionic-angular';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user