diff --git a/core/src/components/select/select.tsx b/core/src/components/select/select.tsx index 9298882962..5cddbc6980 100644 --- a/core/src/components/select/select.tsx +++ b/core/src/components/select/select.tsx @@ -257,7 +257,7 @@ export class Select { } @Method() - open(ev?: UIEvent) { + open(ev?: UIEvent): Promise{ let selectInterface = this.interface; if ((selectInterface === 'action-sheet' || selectInterface === 'popover') && this.multiple) { diff --git a/core/src/generated.d.ts b/core/src/generated.d.ts index 8f521fb3dd..17e4e877c0 100644 --- a/core/src/generated.d.ts +++ b/core/src/generated.d.ts @@ -3978,7 +3978,7 @@ declare namespace StencilComponents { * The text to display on the ok button. Default: `OK`. */ 'okText': string; - 'open': (ev?: UIEvent | undefined) => Promise | Promise | Promise; + 'open': (ev?: UIEvent | undefined) => Promise; /** * The text to display when the select is empty. */