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