| 1 | declare interface CommunicationClient { |
| 2 | onOpen(fn: (...args: any[]) => void): void; |
| 3 | onClose(fn: (...args: any[]) => void): void; |
| 4 | onMessage(fn: (...args: any[]) => void): void; |
| 5 | } |
| 6 | |
| 7 | declare interface CommunicationClientConstructor { |
| 8 | new (url: string): CommunicationClient; // Defines a constructor that takes a string and returns a GreeterInstance |
no outgoing calls
no test coverage detected
searching dependent graphs…