Add new "has" method

This commit is contained in:
Glen committed 2016-01-30 21:25:04 +02:00
1 parent b86d447665
commit 3467c722bd
2 files changed
+7

No files matched your search

+5
View File
@@ -335,6 +335,11 @@ declare module "browser-sync" {
* @param name the identifier used for retrieval
*/
get(name: string): BrowserSyncInstance;
/**
* Check if an instance has been created.
* @param name the name of the instance
*/
has(name: string): boolean;
}
interface BrowserSyncInstance {