UNPKG
got-cjs
Version:
latest (12.5.4)
next (12.0.4)
12.5.4
12.5.3
12.5.2
12.3.1
12.0.4
12.0.1
12.0.0
12.0.0-beta.4
12.0.0-beta.3
12.0.0-beta.2
0.0.2
0.0.1
Human-friendly and powerful HTTP request library for Node.js
github.com/apify/got-cjs
apify/got-cjs
got-cjs
/
dist
/
source
/
core
/
utils
/
is-client-request.d.ts
6 lines
(5 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
/// <reference types="node" />
import
type
{
Writable
,
Readable
}
from
'stream'
;
import
type
{
ClientRequest
}
from
'http'
;
declare
function
isClientRequest
(
clientRequest
:
Writable
|
Readable
): clientRequest is
ClientRequest
;
export
default
isClientRequest;