DefinitelyTyped/types/webpack-stream/webpack-stream-tests.ts
2017-03-24 14:27:52 -07:00

10 lines
338 B
TypeScript

import * as webpack from 'webpack';
import * as webpackStream from 'webpack-stream';
let output: NodeJS.ReadWriteStream;
output = webpackStream();
output = webpackStream({ entry: '' });
output = webpackStream({ entry: '' }, webpack);
output = webpackStream({ entry: '' }, webpack, (error: Error, stats: webpack.compiler.Stats) => { });