mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-20 11:49:35 +08:00
Merge pull request #6865 from glen-84/patch-1
Browsersync: opts is optional
This commit is contained in:
commit
bd8cb4c82a
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user