Revert "refactor(template): update Inject decorator"

BREAKING CHANGE: This reverts commit c5ae6362d7.
This commit is contained in:
Daniel Sogl 2019-02-20 17:40:13 +01:00
parent fcda5ffcab
commit d827db27b0
2 changed files with 2 additions and 6 deletions

View File

@ -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 {
/** /**

View File

@ -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 {
/** /**