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

rokucommunity / brighterscript / #9742

pending completion
#9742

push

web-flow
Bump json5 from 2.2.0 to 2.2.3 (#766)

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

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

5600 of 6852 branches covered (81.73%)

Branch coverage included in aggregate %.

8343 of 9009 relevant lines covered (92.61%)

1585.46 hits per line

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

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

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

12
    public isAssignableTo(targetType: BscType) {
13
        return (
2✔
14
            targetType instanceof DoubleType ||
3✔
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
    public toString() {
33
        return this.typeText ?? 'double';
6!
34
    }
35

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