Skip to content

Enforce TS strict type checking. #11656

Enforce TS strict type checking.

Enforce TS strict type checking. #11656

Triggered via pull request August 28, 2024 20:12
Status Failure
Total duration 1m 13s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

100 errors
tests (macos-latest, 18): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (macos-latest, 18): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 18): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 18): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (macos-latest, 18): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (macos-latest, 18): lib/extension/bridge.ts#L30
Namespace '"/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (macos-latest, 18): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (macos-latest, 18): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (macos-latest, 18): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (macos-latest, 18): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (macos-latest, 20): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (macos-latest, 20): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 20): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 20): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (macos-latest, 20): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (macos-latest, 20): lib/extension/bridge.ts#L30
Namespace '"/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (macos-latest, 20): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (macos-latest, 20): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (macos-latest, 20): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (macos-latest, 20): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
ci: lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
ci: lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
ci: lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
ci: lib/extension/availability.ts#L238
Object is possibly 'undefined'.
ci: lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
ci: lib/extension/bridge.ts#L30
Namespace '"/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
ci: lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
ci: lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
ci: lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
ci: lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (ubuntu-latest, 22): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (ubuntu-latest, 22): lib/extension/bridge.ts#L30
Namespace '"/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (ubuntu-latest, 22): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (ubuntu-latest, 22): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 22): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (macos-latest, 22): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (macos-latest, 22): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 22): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (macos-latest, 22): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (macos-latest, 22): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (macos-latest, 22): lib/extension/bridge.ts#L30
Namespace '"/Users/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (macos-latest, 22): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (macos-latest, 22): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (macos-latest, 22): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (macos-latest, 22): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (ubuntu-latest, 18): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (ubuntu-latest, 18): lib/extension/bridge.ts#L30
Namespace '"/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (ubuntu-latest, 18): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (ubuntu-latest, 18): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 18): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (ubuntu-latest, 20): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (ubuntu-latest, 20): lib/extension/bridge.ts#L30
Namespace '"/home/runner/work/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (ubuntu-latest, 20): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (ubuntu-latest, 20): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (ubuntu-latest, 20): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (windows-latest, 22): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (windows-latest, 22): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 22): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 22): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (windows-latest, 22): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (windows-latest, 22): lib/extension/bridge.ts#L30
Namespace '"D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (windows-latest, 22): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (windows-latest, 22): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (windows-latest, 22): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (windows-latest, 22): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (windows-latest, 20): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (windows-latest, 20): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 20): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 20): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (windows-latest, 20): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (windows-latest, 20): lib/extension/bridge.ts#L30
Namespace '"D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (windows-latest, 20): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (windows-latest, 20): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (windows-latest, 20): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (windows-latest, 20): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.
tests (windows-latest, 18): lib/controller.ts#L88
Argument of type 'Logger' is not assignable to parameter of type 'import("D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/types").Logger'.
tests (windows-latest, 18): lib/extension/availability.ts#L46
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 18): lib/extension/availability.ts#L169
'entity.zh.lastSeen' is possibly 'undefined'.
tests (windows-latest, 18): lib/extension/availability.ts#L238
Object is possibly 'undefined'.
tests (windows-latest, 18): lib/extension/availability.ts#L244
Type 'undefined' is not assignable to type 'string'.
tests (windows-latest, 18): lib/extension/bridge.ts#L30
Namespace '"D:/a/zigbee2mqtt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/index"' has no exported member 'Option'.
tests (windows-latest, 18): lib/extension/frontend.ts#L169
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
tests (windows-latest, 18): lib/extension/groups.ts#L20
'e.features' is possibly 'undefined'.
tests (windows-latest, 18): lib/extension/groups.ts#L21
'e.features' is possibly 'undefined'.
tests (windows-latest, 18): lib/extension/groups.ts#L22
'e.features' is possibly 'undefined'.