diff --git a/src/@ionic-native/plugins/action-sheet/index.ts b/src/@ionic-native/plugins/action-sheet/index.ts index 28c33d829..5273f8d0c 100644 --- a/src/@ionic-native/plugins/action-sheet/index.ts +++ b/src/@ionic-native/plugins/action-sheet/index.ts @@ -21,7 +21,7 @@ export interface ActionSheetOptions { /** * Theme to be used on Android */ - androidTheme?: number; + androidTheme?: 1 | 2 | 3 | 4 | 5; /** * Enable a cancel on Android @@ -46,7 +46,7 @@ export interface ActionSheetOptions { /** * On an iPad, set the X,Y position */ - position?: number[]; + position?: [number, number]; /** * Choose if destructive button will be the last @@ -123,7 +123,7 @@ export class ActionSheet extends IonicNativePlugin { * button pressed (1 based, so 1, 2, 3, etc.) */ @Cordova() - show(options?: ActionSheetOptions): Promise<any> { return; } + show(options?: ActionSheetOptions): Promise<number> { return; } /**