diff --git a/core/src/components/button/button.tsx b/core/src/components/button/button.tsx index de367fff419..89ca2d149c1 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 e099f5b5ce1..ac5e64d1dec 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 6b7b5552219..8fefb13f1a6 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 (