push
github
283 of 288 branches covered (98.26%)
Branch coverage included in aggregate %.
1779 of 2299 relevant lines covered (77.38%)
106.45 hits per line
1 |
export abstract class ValueType { |
1✔ |
2 |
|
1✔ |
3 |
public abstract toString(): string; |
1✔ |
4 |
|
1✔ |
5 |
public equals(other: ValueType): boolean {
|
|
6 |
if (!other) {
|
|
7 |
return false; |
× |
8 |
} |
× |
9 |
return this.toString() === other.toString(); |
2✔ |
10 |
} |
2✔ |
11 |
} |
1✔ |