| 4 | import { Socket } from 'net'; |
| 5 | |
| 6 | interface ISocketAsync { |
| 7 | connectAsync(path: string): Promise<boolean>; |
| 8 | connectAsync(port: number, host: string): Promise<boolean>; |
| 9 | writeAsync(data: Buffer): Promise<boolean>; |
| 10 | writeAsync(data: Buffer, encoding: string): Promise<boolean>; |
| 11 | readAsync(): Promise<Buffer>; |
| 12 | } |
| 13 | |
| 14 | export interface Socket extends ISocketAsync { |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected