* Creates an ITermBackend instance. * Throws if ITermBackend hasn't been registered.
()
| 117 | * Throws if ITermBackend hasn't been registered. |
| 118 | */ |
| 119 | function createITermBackend(): PaneBackend { |
| 120 | if (!ITermBackendClass) { |
| 121 | throw new Error( |
| 122 | 'ITermBackend not registered. Import ITermBackend.ts before using the registry.', |
| 123 | ) |
| 124 | } |
| 125 | return new ITermBackendClass() |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Detection priority flow: |
no outgoing calls
no test coverage detected