diff --git a/DEVELOPER.md b/DEVELOPER.md index 18859275a..ba6e164d6 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -209,4 +209,13 @@ Example: someMethod(): Promise { // anything here will only run if the plugin is available } +``` + +#### CordovaFunctionOverride +Wrap a stub function in a call to a Cordova plugin, checking if both Cordova and the required plugin are installed. + +Example: +```ts +@CordovaFunctionOverride() +someMethod(): Observable { return; } ``` \ No newline at end of file