( tool: string, table: OpenerDefinition[] )
| 74 | |
| 75 | /** One spelling of "this tool id must exist in the merged table". */ |
| 76 | export function assertKnownTool( |
| 77 | tool: string, |
| 78 | table: OpenerDefinition[] |
| 79 | ): void { |
| 80 | if (findOpener(table, tool) === null) { |
| 81 | throw toolUnknownError(tool, table); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /** Final assembly shared by both compose paths: one validation rule. */ |
| 86 | export function finalizeWorkset( |
no test coverage detected