This commit is contained in:
Ash
2023-01-24 17:15:57 +04:00
parent 21898e64fb
commit 26ebf6ec64
1117 changed files with 239106 additions and 0 deletions

22
node_modules/decompress-response/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
/// <reference types="node"/>
import {IncomingMessage} from 'http';
/**
Decompress a HTTP response if needed.
@param response - The HTTP incoming stream with compressed data.
@returns The decompressed HTTP response stream.
@example
```
import {http} from 'http';
import decompressResponse = require('decompress-response');
http.get('https://sindresorhus.com', response => {
response = decompressResponse(response);
});
```
*/
declare function decompressResponse(response: IncomingMessage): IncomingMessage;
export = decompressResponse;