Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion examples/audiobook-curator/src/cli-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ interface CliProjection<Input, Result> {
readonly usage: string;
}

interface CliCommandDefinition<
/**
* Exported because the operation factories in `src/operations/` export
* objects of `defineCliCommand(...)` results: declaration emit for the
* package build must be able to name this type from those modules
* (TS4023 otherwise fails `agent-bundle build`'s d.ts generation, even
* though `tsc --noEmit` passes).
*/
export interface CliCommandDefinition<
InputSchema extends Schema<unknown>,
ResultSchema extends Schema<unknown>,
ParsedInput,
Expand Down
Loading