chore(): update templates

This commit is contained in:
Ibby Hadeed 2017-04-27 00:53:06 -04:00
parent 6811750711
commit ab782f7093
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import { Plugin } from '@ionic-native/core'; import { Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
/** /**
@ -25,6 +25,6 @@ import { Injectable } from '@angular/core';
platforms: [] platforms: []
}) })
@Injectable() @Injectable()
export class $PluginName { export class $PluginName extends IonicNativePlugin {
} }

View File

@ -10,7 +10,7 @@
* - Remove this note * - 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 { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
@ -44,7 +44,7 @@ import { Observable } from 'rxjs/Observable';
install: '', // OPTIONAL install command, in case the plugin requires variables install: '', // OPTIONAL install command, in case the plugin requires variables
}) })
@Injectable() @Injectable()
export class $PluginName { export class $PluginName extends IonicNativePlugin {
/** /**
* This function does something * This function does something