-
Notifications
You must be signed in to change notification settings - Fork 230
/
shims.d.ts
23 lines (21 loc) · 878 Bytes
/
shims.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
/**
* Shim for Node stream interface.
*/
interface NodeStream {
/**
* Shim for Node stream interface when the environment does not use @types/node.
* Using @types/node appends the ambient Node definition to the global scope which is not desirable.
* https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/600
*/
readable: boolean;
readableLength: number;
read(size?: number): any;
on(event: string | symbol, listener: (...args: any[]) => void): this;
}
interface Headers{}