Fix remaining TypeScript type error
This commit is contained in:
parent
a378f8276d
commit
bf6302b173
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ class KArrow extends KindBase {
|
|||
}
|
||||
|
||||
public hasFailed(): boolean {
|
||||
return this.flags & KindFlags.UnificationFailed
|
||||
return (this.flags & KindFlags.UnificationFailed) > 0
|
||||
|| this.left.hasFailed()
|
||||
|| this.right.hasFailed();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue