feat(core): add methodName to Cordova Decorator (#3558)

closes #3557
This commit is contained in:
Hans Krywalsky
2020-11-19 08:38:39 +01:00
committed by GitHub
parent f71b65d6a7
commit 46853b4212
3 changed files with 7 additions and 1 deletions
@@ -33,6 +33,11 @@ export interface PluginConfig {
export interface CordovaOptions {
destruct?: boolean;
/**
* If the method-name of the cordova plugin is different from the wrappers one, it can be defined here
*/
methodName?: string;
/**
* Set to true if the wrapped method is a sync function
*/