Skip to content

Type Alias: JsonResult ​

The result of a command that supports --json: an object keyed by a noun, such as { project } or { projects }, so that fields can be added later. The global options plugin prints it with JSON.stringify, so convert what JSON cannot hold, such as a Map or a BigInt, yourself.

Signature ​

ts
export type JsonResult = Record<string, unknown>

Released under the MIT License.