mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Add new "has" method
This commit is contained in:
Vendored
+5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user