diff --git a/core/src/components/button/button.tsx b/core/src/components/button/button.tsx index de367fff41..89ca2d149c 100644 --- a/core/src/components/button/button.tsx +++ b/core/src/components/button/button.tsx @@ -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 }; diff --git a/core/src/components/fab-button/fab-button.tsx b/core/src/components/fab-button/fab-button.tsx index e099f5b5ce..ac5e64d1de 100755 --- a/core/src/components/fab-button/fab-button.tsx +++ b/core/src/components/fab-button/fab-button.tsx @@ -116,7 +116,7 @@ export class FabButton 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 }; diff --git a/core/src/components/item-option/item-option.tsx b/core/src/components/item-option/item-option.tsx index 6b7b555221..8fefb13f1a 100644 --- a/core/src/components/item-option/item-option.tsx +++ b/core/src/components/item-option/item-option.tsx @@ -59,7 +59,7 @@ export class ItemOption implements ComponentInterface { } render() { - const TagType = this.href === undefined ? 'button' : 'a'; + const TagType = this.href === undefined ? 'button' : 'a' as any; return (