761482cf5e
* Use sorcery to merge sourcemaps between browserify and gulp-typescript * Use shorthand * Fix nit * move comments, change loop into map * Ahahaha, we should run code before pushing it * Move conditional into call
24 lines
941 B
TypeScript
24 lines
941 B
TypeScript
declare module "gulp-clone" {
|
|
function Clone(): NodeJS.ReadWriteStream;
|
|
namespace Clone {
|
|
export function sink() : NodeJS.ReadWriteStream & {tap: () => NodeJS.ReadWriteStream};
|
|
}
|
|
export = Clone;
|
|
}
|
|
|
|
declare module "gulp-insert" {
|
|
export function append(text: string | Buffer): NodeJS.ReadWriteStream;
|
|
export function prepend(text: string | Buffer): NodeJS.ReadWriteStream;
|
|
export function wrap(text: string | Buffer, tail: string | Buffer): NodeJS.ReadWriteStream;
|
|
export function transform(cb: (contents: string, file: {path: string}) => string): NodeJS.ReadWriteStream; // file is a vinyl file
|
|
}
|
|
|
|
declare module "into-stream" {
|
|
function IntoStream(content: string | Buffer | (string | Buffer)[]): NodeJS.ReadableStream;
|
|
namespace IntoStream {
|
|
export function obj(content: any): NodeJS.ReadableStream
|
|
}
|
|
export = IntoStream;
|
|
}
|
|
|
|
declare module "sorcery";
|