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

rokucommunity / brighterscript / #9871

pending completion
#9871

push

web-flow
Bump xml2js from 0.4.23 to 0.5.0 (#790)

Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from 0.4.23 to 0.5.0.
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

5527 of 6734 branches covered (82.08%)

Branch coverage included in aggregate %.

8406 of 9073 relevant lines covered (92.65%)

1616.37 hits per line

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

60.0
/src/types/FloatType.ts
1
import type { BscType } from './BscType';
2
import { DoubleType } from './DoubleType';
1✔
3
import { DynamicType } from './DynamicType';
1✔
4
import { IntegerType } from './IntegerType';
1✔
5
import { LongIntegerType } from './LongIntegerType';
1✔
6

7
export class FloatType implements BscType {
1✔
8
    constructor(
9
        public typeText?: string
90✔
10
    ) { }
11

12
    public isAssignableTo(targetType: BscType) {
13
        return (
3✔
14
            targetType instanceof FloatType ||
5✔
15
            targetType instanceof DynamicType
16
        );
17
    }
18

19
    public isConvertibleTo(targetType: BscType) {
20
        if (
×
21
            targetType instanceof DynamicType ||
×
22
            targetType instanceof IntegerType ||
23
            targetType instanceof FloatType ||
24
            targetType instanceof DoubleType ||
25
            targetType instanceof LongIntegerType
26
        ) {
27
            return true;
×
28
        } else {
29
            return false;
×
30
        }
31
    }
32

33
    public toString() {
34
        return this.typeText ?? 'float';
7✔
35
    }
36

37
    public toTypeString(): string {
38
        return this.toString();
6✔
39
    }
40
}
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