1 | // Type definitions for stream-shift 1.0
|
2 | // Project: https://github.com/mafintosh/stream-shift
|
3 | // Definitions by: Daniel Cassidy <https://github.com/djcsdy>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node"/>
|
7 |
|
8 | declare function shift(stream: NodeJS.ReadableStream): Buffer | string | null;
|
9 |
|
10 | export = shift;
|