Opts is optional

See: http://www.browsersync.io/docs/api/#api-stream
This commit is contained in:
Glen 2015-11-20 22:35:30 +02:00
parent 16134c168d
commit a64af03846

View File

@ -371,7 +371,7 @@ declare module "browser-sync" {
* The stream method returns a transform stream and can act once or on many files.
* @param opts Configuration for the stream method
*/
stream(opts: { once: boolean }): NodeJS.ReadWriteStream;
stream(opts?: { once: boolean }): NodeJS.ReadWriteStream;
/**
* Helper method for browser notifications
* @param message Can be a simple message such as 'Connected' or HTML