chore(): update stencil + fix lint errors

This commit is contained in:
Manu Mtz.-Almeida
2018-10-02 17:54:32 +02:00
parent 5560dcd713
commit 2f9aaa2e0c
3 changed files with 4 additions and 5 deletions

View File

@ -30,7 +30,7 @@
"ionicons": "4.4.4" "ionicons": "4.4.4"
}, },
"devDependencies": { "devDependencies": {
"@stencil/core": "0.13.1", "@stencil/core": "0.14.0-0",
"@stencil/dev-server": "latest", "@stencil/dev-server": "latest",
"@stencil/sass": "0.1.1", "@stencil/sass": "0.1.1",
"@stencil/utils": "latest", "@stencil/utils": "latest",
@ -46,6 +46,7 @@
"np": "^3.0.4", "np": "^3.0.4",
"pixelmatch": "4.0.2", "pixelmatch": "4.0.2",
"puppeteer": "1.7.0", "puppeteer": "1.7.0",
"rollup-plugin-node-resolve": "^3.4.0",
"stylelint": "~9.6.0", "stylelint": "~9.6.0",
"stylelint-order": "~1.0.0", "stylelint-order": "~1.0.0",
"swiper": "4.4.1", "swiper": "4.4.1",

View File

@ -154,9 +154,7 @@ export class Searchbar implements ComponentInterface {
@Method() @Method()
setFocus() { setFocus() {
if (this.nativeInput) { this.nativeInput.focus();
this.nativeInput.focus();
}
} }
/** /**

View File

@ -1,6 +1,6 @@
import { EventEmitter } from '@stencil/core'; 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<T = any> { export interface OverlayEventDetail<T = any> {
data?: T; data?: T;