-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathglobals.d.ts
More file actions
24 lines (19 loc) · 733 Bytes
/
globals.d.ts
File metadata and controls
24 lines (19 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
declare interface CommunicationClient {
onOpen(fn: (...args: any[]) => void): void;
onClose(fn: (...args: any[]) => void): void;
onMessage(fn: (...args: any[]) => void): void;
}
declare interface CommunicationClientConstructor {
new (url: string): CommunicationClient; // Defines a constructor that takes a string and returns a GreeterInstance
}
declare const __webpack_dev_server_client__:
| CommunicationClientConstructor
| { default: CommunicationClientConstructor }
| undefined;
declare module "ansi-html-community" {
function ansiHtmlCommunity(str: string): string;
namespace ansiHtmlCommunity {
function setColors(colors: Record<string, string | string[]>): void;
}
export = ansiHtmlCommunity;
}