| 29 | } |
| 30 | |
| 31 | export class WithSignals { |
| 32 | // Note: these will be replaced by the addSignalMethods function |
| 33 | // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function, @typescript-eslint/no-explicit-any |
| 34 | emit(name: string, ...params: any[]): void {} |
| 35 | // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any |
| 36 | connect(name: string, callback: (...params: any[]) => void): number { |
| 37 | return 0; |
| 38 | } |
| 39 | // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars |
| 40 | disconnect(id: number): void {} |
| 41 | } |
| 42 | Signals.addSignalMethods(WithSignals.prototype); |
nothing calls this directly
no outgoing calls
no test coverage detected