fix(all): ts 3.2 issues

This commit is contained in:
Manu Mtz.-Almeida
2018-12-16 17:46:15 +01:00
committed by Manu MA
parent 56dd8ae342
commit f393a82ed6
4 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ export class Button implements ComponentInterface {
}
render() {
const TagType = this.href === undefined ? 'button' : 'a';
const TagType = this.href === undefined ? 'button' : 'a' as any;
const attrs = (TagType === 'button')
? { type: this.type }
: { href: this.href };