(id: string)
| 20 | } |
| 21 | |
| 22 | async restore (id: string): Promise<ElectronPTYProxy|null> { |
| 23 | if (ipcRenderer.sendSync('pty:exists', id)) { |
| 24 | return new ElectronPTYProxy(id) |
| 25 | } |
| 26 | return null |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // eslint-disable-next-line @typescript-eslint/no-extraneous-class |
no outgoing calls
no test coverage detected