typescript: Annotate queueDomain.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-04-25 16:54:58 -07:00
committed by Anders Kaseorg
parent 2154b191c8
commit 0225778050

View File

@@ -246,7 +246,7 @@ class ServerManagerView {
ConfigUtil.removeConfigItem('userAgent');
}
async queueDomain(domain: any): Promise<boolean> {
async queueDomain(domain: string): Promise<boolean> {
// allows us to start adding multiple domains to the app simultaneously
// promise of addition resolves in both cases, but we consider it rejected
// if the resolved value is false