Skip to content

Instantly share code, notes, and snippets.

@tai2
Created April 27, 2019 14:52
Show Gist options
  • Select an option

  • Save tai2/843d2b0200e8347099f774e6fed5855c to your computer and use it in GitHub Desktop.

Select an option

Save tai2/843d2b0200e8347099f774e6fed5855c to your computer and use it in GitHub Desktop.
/// <reference types="node" />
declare module 'through2-spy' {
import stream = require('stream');
function through2_spy(transform?: SpyFunction): stream.Transform;
type SpyFunction = (this: stream.Transform, chunk: any) => void;
export = through2_spy;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment