mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
Revert "refactor(template): update Inject decorator"
BREAKING CHANGE: This reverts commit c5ae6362d7
.
This commit is contained in:
parent
fcda5ffcab
commit
d827db27b0
@ -43,9 +43,7 @@ import { Observable } from 'rxjs';
|
|||||||
installVariables: [], // OPTIONAL the plugin requires variables
|
installVariables: [], // OPTIONAL the plugin requires variables
|
||||||
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
|
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
|
||||||
})
|
})
|
||||||
@Injectable({
|
@Injectable()
|
||||||
providedIn: 'root'
|
|
||||||
})
|
|
||||||
export class {{ PluginName }} extends IonicNativePlugin {
|
export class {{ PluginName }} extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -43,9 +43,7 @@ import { Observable } from 'rxjs';
|
|||||||
installVariables: [], // OPTIONAL the plugin requires variables
|
installVariables: [], // OPTIONAL the plugin requires variables
|
||||||
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
|
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
|
||||||
})
|
})
|
||||||
@Injectable({
|
@Injectable()
|
||||||
providedIn: 'root'
|
|
||||||
})
|
|
||||||
export class {{ PluginName }} extends IonicNativePlugin {
|
export class {{ PluginName }} extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user