Skip to content

Upgrade microbit-connection library #490

Upgrade microbit-connection library

Upgrade microbit-connection library #490

Triggered via push February 19, 2025 10:25
Status Failure
Total duration 1m 13s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
build: src/App.tsx#L13
'MicrobitWebUSBConnection' is declared but its value is never read.
build: src/App.tsx#L43
'MicrobitWebUSBConnection' only refers to a type, but is being used as a value here.
build: src/device/device-hooks.tsx#L24
Generic type 'DeviceConnection<M>' requires 1 type argument(s).
build: src/device/device-hooks.tsx#L237
Generic type 'DeviceConnection<M>' requires 1 type argument(s).
build: src/device/mock.ts#L29
Generic type 'DeviceConnection<M>' requires 1 type argument(s).
build: src/device/mock.ts#L44
Argument of type '"serialdata"' is not assignable to parameter of type 'keyof DeviceConnectionEventMap'.
build: src/device/mock.ts#L92
Argument of type '"flash"' is not assignable to parameter of type 'keyof DeviceConnectionEventMap'.
build: src/device/simulator.ts#L182
Generic type 'DeviceConnection<M>' requires 1 type argument(s).
build: src/device/simulator.ts#L260
Argument of type '"serialdata"' is not assignable to parameter of type 'keyof SimulatorEventMap'.
build: src/device/simulator.ts#L322
Argument of type '"flash"' is not assignable to parameter of type 'keyof SimulatorEventMap'.
build
Process completed with exit code 1.
build
No files were found with the provided path: reports/. No artifacts will be uploaded.
build
Cache not found for keys: node-cache-Linux-x64-npm-c9d5909054ef646d8ef0c4858f2e691780cb2c1c00d311af4aa8d4ae11513e41