diff --git a/browser-sync/browser-sync.d.ts b/browser-sync/browser-sync.d.ts
index 50c00d9b9..6640090bc 100644
--- a/browser-sync/browser-sync.d.ts
+++ b/browser-sync/browser-sync.d.ts
@@ -5,11 +5,13 @@
///
///
+///
declare module "browser-sync" {
import chokidar = require("chokidar");
import fs = require("fs");
import http = require("http");
+ import mm = require("micromatch");
namespace browserSync {
interface Options {
@@ -312,11 +314,9 @@ declare module "browser-sync" {
fn: (match: string) => string;
}
- type MatchTest = (string | RegExp | ((testString: string) => boolean));
-
interface StreamOptions {
once?: boolean;
- match?: MatchTest | MatchTest[];
+ match?: mm.Pattern | mm.Pattern[];
}
interface BrowserSyncStatic extends BrowserSyncInstance {