mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 21:13:32 +00:00
typescript: Annotate queueDomain.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
2154b191c8
commit
0225778050
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user