Skip to content

use v27.0.0 instead of the end of life versions #32332

use v27.0.0 instead of the end of life versions

use v27.0.0 instead of the end of life versions #32332

Triggered via push January 11, 2024 22:41
Status Failure
Total duration 5m 46s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
js checks: app-shell/src/system-info/index.ts#L14
'UsbDevice' is defined but never used
js checks
Process completed with exit code 2.
js checks: app-shell/src/system-info/index.ts#L38
Type 'Promise<WebUSBDevice | { windowsDriverVersion: string | null; usbVersionMajor: number; usbVersionMinor: number; usbVersionSubminor: number; deviceClass: number; deviceSubclass: number; deviceProtocol: number; vendorId: number; productId: number; deviceVersionMajor: number; deviceVersionMinor: number; deviceVersionSubminor: number; manufacturerName?: string | undefined; productName?: string | undefined; serialNumber?: string | undefined; configurations: USBConfiguration[]; }>' is not assignable to type 'Promise<WebUSBDevice>'.
js checks: app-shell/src/system-info/index.ts#L44
Type 'Promise<{ usbVersionMajor: number; usbVersionMinor: number; usbVersionSubminor: number; deviceClass: number; deviceSubclass: number; deviceProtocol: number; vendorId: number; productId: number; deviceVersionMajor: number; deviceVersionMinor: number; deviceVersionSubminor: number; manufacturerName?: string | undefined; productName?: string | undefined; serialNumber?: string | undefined; configurations: USBConfiguration[]; }>' is not assignable to type 'Promise<WebUSBDevice>'.
js checks: app-shell/src/system-info/index.ts#L55
Argument of type 'Partial<WebUSBDevice>' is not assignable to parameter of type 'WebUSBDevice'.
js checks: app-shell/src/system-info/index.ts#L55
Argument of type 'WebUSBDevice' is not assignable to parameter of type 'UsbDevice'.
js checks: app-shell/src/system-info/index.ts#L59
Argument of type '{ usbVersionMajor?: number | undefined; usbVersionMinor?: number | undefined; usbVersionSubminor?: number | undefined; deviceClass?: number | undefined; deviceSubclass?: number | undefined; deviceProtocol?: number | undefined; vendorId?: number | undefined; productId?: number | undefined; deviceVersionMajor?: number | undefined; deviceVersionMinor?: number | undefined; deviceVersionSubminor?: number | undefined; manufacturerName?: string | undefined; productName?: string | undefined; serialNumber?: string | undefined; configurations?: USBConfiguration[] | undefined; configuration?: USBConfiguration | undefined; opened?: boolean | undefined; open?: (() => Promise<void>) | undefined; close?: (() => Promise<void>) | undefined; selectConfiguration?: ((configurationValue: number) => Promise<void>) | undefined; claimInterface?: ((interfaceNumber: number) => Promise<void>) | undefined; releaseInterface?: ((interfaceNumber: number) => Promise<void>) | undefined; selectAlternateInterface?: ((interfaceNumber: number, alternateSetting: number) => Promise<void>) | undefined; controlTransferIn?: ((setup: USBControlTransferParameters, length: number) => Promise<USBInTransferResult>) | undefined; controlTransferOut?: ((setup: USBControlTransferParameters, data?: ArrayBuffer | undefined) => Promise<USBOutTransferResult>) | undefined; clearHalt?: ((direction: USBDirection, endpointNumber: number) => Promise<void>) | undefined; transferIn?: ((endpointNumber: number, length: number) => Promise<USBInTransferResult>) | undefined; transferOut?: ((endpointNumber: number, data: ArrayBuffer) => Promise<USBOutTransferResult>) | undefined; reset?: (() => Promise<void>) | undefined; isochronousTransferIn?: ((_endpointNumber: number, _packetLengths: number[]) => Promise<USBIsochronousInTransferResult>) | undefined; isochronousTransferOut?: ((_endpointNumber: number, _data: BufferSource, _packetLengths: number[]) => Promise<USBIsochronousOutTransferResult>) | undefined; forget?: (() => Promise<void>) | undefined; }' is not assignable to parameter of type 'UsbDevice'.
js checks: app-shell/src/system-info/index.ts#L86
Type '(device: Device) => void' is not assignable to type '(device: Device) => unknown'.
js checks: app-shell/src/system-info/index.ts#L87
Type '(d: Device) => void' is not assignable to type '(device: Device) => unknown'.
js checks: app-shell/src/system-info/index.ts#L99
Property 'then' does not exist on type 'Device[]'.
js checks: app-shell/src/system-info/index.ts#L99
Parameter 'devices' implicitly has an 'any' type.
js checks: app-shell/src/system-info/index.ts#L100
Parameter 'devices' implicitly has an 'any' type.
js checks: api-client/src/protocols/utils.ts#L27
This assertion is unnecessary since it does not change the type of the expression
js checks: api-client/src/protocols/utils.ts#L31
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/config/index.ts#L80
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/dialogs/index.ts#L38
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/dialogs/index.ts#L61
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/http.ts#L53
Unexpected number value in conditional. An explicit zero/NaN check is required
js checks: app-shell-odd/src/http.ts#L94
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L29
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L39
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L66
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator