(module: Codegen.Module, name: string)
| 16 | } |
| 17 | |
| 18 | export function declaration(module: Codegen.Module, name: string): ReadonlyArray<string> { |
| 19 | const output = module.finalize() |
| 20 | const entry = output.declarations.find(({ binding }) => output.names.get(binding) === name) |
| 21 | assert.isDefined(entry, "Missing declaration: " + name) |
| 22 | return entry!.fragments |
| 23 | } |
| 24 | |
| 25 | export function assertSchemas( |
| 26 | module: Codegen.Module, |
no test coverage detected