Skip to content

lib/request-browser: fix for node. #10

lib/request-browser: fix for node.

lib/request-browser: fix for node. #10

Triggered via push December 16, 2023 11:46
Status Failure
Total duration 16s
Artifacts

build.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint: lib/request-browser.js#L12
Property 'fetch' does not exist on type 'typeof globalThis'.
Lint: lib/request-browser.js#L12
Property 'Headers' does not exist on type 'typeof globalThis'.
Lint: lib/request-browser.js#L12
Property 'URL' does not exist on type 'typeof globalThis'.
Lint: lib/request-browser.js#L12
Property 'URLSearchParams' does not exist on type 'typeof globalThis'.
Lint: lib/request-browser.js#L427
Property 'destroy' does not exist on type 'EventEmitter'.
Lint: lib/request-browser.js#L427
Property 'close' does not exist on type 'EventEmitter'.
Lint: lib/request-browser.js#L456
Property 'write' does not exist on type 'EventEmitter'.
Lint: lib/request-browser.js#L481
Property 'close' does not exist on type 'EventEmitter'.
Lint
Process completed with exit code 2.