refactor(all): using ComponentInterface

This commit is contained in:
Manu Mtz.-Almeida
2018-09-14 18:45:39 +02:00
parent 9ad05d85cd
commit c49d896e08
99 changed files with 208 additions and 224 deletions

View File

@ -1,4 +1,4 @@
import { Component, Element, Listen, Prop, State } from '@stencil/core';
import { Component, ComponentInterface, Element, Listen, Prop, State } from '@stencil/core';
import { Config } from '../../interface';
import { DisplayWhen, getTestResult } from '../../utils/show-hide-when-utils';
@ -7,7 +7,7 @@ import { DisplayWhen, getTestResult } from '../../utils/show-hide-when-utils';
tag: 'ion-hide-when',
styleUrl: './hide-when.scss'
})
export class HideWhen implements DisplayWhen {
export class HideWhen implements ComponentInterface, DisplayWhen {
@Element() element!: HTMLElement;
@Prop({ context: 'config' }) config!: Config;