Skip to content

chore(types): migrate module resolution and module types #1039

chore(types): migrate module resolution and module types

chore(types): migrate module resolution and module types #1039

Triggered via pull request July 10, 2025 14:06
Status Failure
Total duration 1m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

mqttjs-test.yml

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

Annotations

20 errors
build (20.x): src/lib/connect/ws.ts#L240
Cannot find name 'CloseEvent'.
build (20.x): src/lib/connect/ws.ts#L163
Cannot find name 'WebSocket'.
build (20.x): src/lib/connect/ws.ts#L135
Cannot find name 'WebSocket'.
build (20.x): src/lib/connect/ws.ts#L131
Cannot find name 'WebSocket'.
build (20.x): src/lib/connect/ws.ts#L77
Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
build (20.x): src/lib/connect/ws.ts#L74
Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
build (20.x): src/lib/connect/tls.ts#L18
Unused '@ts-expect-error' directive.
build (20.x): src/lib/connect/ali.ts#L76
Cannot find name 'FileReader'.
build (20.x): src/lib/BufferedDuplex.ts#L44
Cannot find name 'WebSocket'.
build (20.x): src/lib/BufferedDuplex.ts#L32
Cannot find name 'WebSocket'.
build (18.x): src/lib/connect/ws.ts#L240
Cannot find name 'CloseEvent'.
build (18.x): src/lib/connect/ws.ts#L163
Cannot find name 'WebSocket'.
build (18.x): src/lib/connect/ws.ts#L135
Cannot find name 'WebSocket'.
build (18.x): src/lib/connect/ws.ts#L131
Cannot find name 'WebSocket'.
build (18.x): src/lib/connect/ws.ts#L77
Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
build (18.x): src/lib/connect/ws.ts#L74
Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
build (18.x): src/lib/connect/tls.ts#L18
Unused '@ts-expect-error' directive.
build (18.x): src/lib/connect/ali.ts#L76
Cannot find name 'FileReader'.
build (18.x): src/lib/BufferedDuplex.ts#L44
Cannot find name 'WebSocket'.
build (18.x): src/lib/BufferedDuplex.ts#L32
Cannot find name 'WebSocket'.