mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
* Initial VS Code 1.21 file copy with patches * A few more merges * Post npm install * Fix batch of build breaks * Fix more build breaks * Fix more build errors * Fix more build breaks * Runtime fixes 1 * Get connection dialog working with some todos * Fix a few packaging issues * Copy several node_modules to package build to fix loader issues * Fix breaks from master * A few more fixes * Make tests pass * First pass of license header updates * Second pass of license header updates * Fix restore dialog issues * Remove add additional themes menu items * fix select box issues where the list doesn't show up * formatting * Fix editor dispose issue * Copy over node modules to correct location on all platforms
28 lines
1009 B
TypeScript
28 lines
1009 B
TypeScript
declare module "event-stream" {
|
|
import { Stream } from 'stream';
|
|
import { ThroughStream as _ThroughStream} from 'through';
|
|
import { MapStream } from 'map-stream';
|
|
import * as File from 'vinyl';
|
|
|
|
export interface ThroughStream extends _ThroughStream {
|
|
queue(data: File | null);
|
|
push(data: File | null);
|
|
paused: boolean;
|
|
}
|
|
|
|
function merge(streams: Stream[]): ThroughStream;
|
|
function merge(...streams: Stream[]): ThroughStream;
|
|
function concat(...stream: Stream[]): ThroughStream;
|
|
function duplex(istream: Stream, ostream: Stream): ThroughStream;
|
|
|
|
function through(write?: (data: any) => void, end?: () => void,
|
|
opts?: {autoDestroy: boolean; }): ThroughStream;
|
|
|
|
function readArray<T>(array: T[]): ThroughStream;
|
|
function writeArray<T>(cb: (err:Error, array:T[]) => void): ThroughStream;
|
|
|
|
function mapSync<I,O>(cb: (data:I) => O): ThroughStream;
|
|
function map<I,O>(cb: (data:I, cb:(err?:Error, data?: O)=>void) => O): ThroughStream;
|
|
|
|
function readable(asyncFunction: Function): MapStream;
|
|
} |