diff --git a/lib/commands/command.ts b/lib/commands/command.ts index 97be78d..51ba126 100644 --- a/lib/commands/command.ts +++ b/lib/commands/command.ts @@ -128,7 +128,7 @@ export type ObjectInput = { key: Key } -export type ObjectOutput = { identity: string, uuid?: string } | { key: Key } +export type ObjectOutput = { identity?: string, uuid?: string } & { key?: Key } /** * State input for stateful command