mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(all): ts 3.2 issues
This commit is contained in:

committed by
Manu MA

parent
56dd8ae342
commit
f393a82ed6
@ -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 };
|
||||
|
Reference in New Issue
Block a user