mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
chore(): update templates
This commit is contained in:
parent
6811750711
commit
ab782f7093
@ -1,4 +1,4 @@
|
||||
import { Plugin } from '@ionic-native/core';
|
||||
import { Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
@ -25,6 +25,6 @@ import { Injectable } from '@angular/core';
|
||||
platforms: []
|
||||
})
|
||||
@Injectable()
|
||||
export class $PluginName {
|
||||
export class $PluginName extends IonicNativePlugin {
|
||||
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
* - Remove this note
|
||||
*
|
||||
*/
|
||||
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty } from '@ionic-native/core';
|
||||
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
@ -44,7 +44,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
install: '', // OPTIONAL install command, in case the plugin requires variables
|
||||
})
|
||||
@Injectable()
|
||||
export class $PluginName {
|
||||
export class $PluginName extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* This function does something
|
||||
|
Loading…
Reference in New Issue
Block a user