mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Remove "instances" array + test
This commit is contained in:
@@ -78,8 +78,6 @@ evt.on("init", function () {
|
||||
|
||||
browserSync(config);
|
||||
|
||||
var instance = browserSync.instances[0];
|
||||
|
||||
var bs = browserSync.create();
|
||||
|
||||
bs.init({
|
||||
|
||||
2
browser-sync/browser-sync.d.ts
vendored
2
browser-sync/browser-sync.d.ts
vendored
@@ -335,8 +335,6 @@ declare module "browser-sync" {
|
||||
* @param name the identifier used for retrieval
|
||||
*/
|
||||
get(name: string): BrowserSyncInstance;
|
||||
|
||||
instances: BrowserSyncInstance[];
|
||||
}
|
||||
|
||||
interface BrowserSyncInstance {
|
||||
|
||||
Reference in New Issue
Block a user