diff --git a/core/package.json b/core/package.json index 2b0e1e1981..563f968f06 100644 --- a/core/package.json +++ b/core/package.json @@ -30,7 +30,7 @@ "ionicons": "4.4.4" }, "devDependencies": { - "@stencil/core": "0.13.1", + "@stencil/core": "0.14.0-0", "@stencil/dev-server": "latest", "@stencil/sass": "0.1.1", "@stencil/utils": "latest", @@ -46,6 +46,7 @@ "np": "^3.0.4", "pixelmatch": "4.0.2", "puppeteer": "1.7.0", + "rollup-plugin-node-resolve": "^3.4.0", "stylelint": "~9.6.0", "stylelint-order": "~1.0.0", "swiper": "4.4.1", diff --git a/core/src/components/searchbar/searchbar.tsx b/core/src/components/searchbar/searchbar.tsx index ca7bfc19b4..47d7105dc4 100644 --- a/core/src/components/searchbar/searchbar.tsx +++ b/core/src/components/searchbar/searchbar.tsx @@ -154,9 +154,7 @@ export class Searchbar implements ComponentInterface { @Method() setFocus() { - if (this.nativeInput) { - this.nativeInput.focus(); - } + this.nativeInput.focus(); } /** diff --git a/core/src/utils/overlays-interface.ts b/core/src/utils/overlays-interface.ts index db8b365b24..607b2e79ff 100644 --- a/core/src/utils/overlays-interface.ts +++ b/core/src/utils/overlays-interface.ts @@ -1,6 +1,6 @@ import { EventEmitter } from '@stencil/core'; -import { ActionSheetOptions, AlertOptions, Animation, AnimationBuilder, Config, Conforms, LoadingOptions, ModalOptions, Mode, PickerOptions, PopoverOptions, ToastOptions } from '../interface'; +import { Animation, AnimationBuilder, Config, Mode } from '../interface'; export interface OverlayEventDetail { data?: T;