diff --git a/src/plugins/screen-orientation.ts b/src/plugins/screen-orientation.ts index 0e59d13c..8476b68b 100644 --- a/src/plugins/screen-orientation.ts +++ b/src/plugins/screen-orientation.ts @@ -52,7 +52,7 @@ export class ScreenOrientation { * @returns {Promise} returns a promise that resolves when the screen orientation is locked, and rejects when an error occurs. */ @Cordova({ otherPromise: true }) - static lockOrientation(orientation: string): Promise { return } + static lockOrientation(orientation: string): Promise { return; } /** * Unlock and allow all orientations.