• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rokucommunity / brighterscript / #13399

06 Dec 2024 08:59PM UTC coverage: 88.168%. Remained the same
#13399

push

TwitchBronBron
0.68.2

6763 of 8118 branches covered (83.31%)

Branch coverage included in aggregate %.

8990 of 9749 relevant lines covered (92.21%)

1870.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/src/types/InvalidType.ts
1
import type { BscType } from './BscType';
2
import { DynamicType } from './DynamicType';
1✔
3

4
export class InvalidType implements BscType {
1✔
5
    constructor(
6
        public typeText?: string
57✔
7
    ) { }
8

9
    public isAssignableTo(targetType: BscType) {
10
        return (
2✔
11
            targetType instanceof InvalidType ||
3✔
12
            targetType instanceof DynamicType
13
        );
14
    }
15

16
    public isConvertibleTo(targetType: BscType) {
17
        return this.isAssignableTo(targetType);
×
18
    }
19

20
    public toString() {
21
        return this.typeText ?? 'invalid';
×
22
    }
23

24
    public toTypeString(): string {
25
        return this.toString();
×
26
    }
27

28
    public clone() {
29
        return new InvalidType(this.typeText);
×
30
    }
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc