Type Alias TaskGraphDebugFieldValue
TaskGraphDebugFieldValue:
| { Kind: "null" }
| { Kind: "bool"; Value: boolean }
| { Kind: "string"; Value: string }
| { Kind: "json"; Value: string }
Type Declaration
- { Kind: "null" }
- { Kind: "bool"; Value: boolean }
- { Kind: "string"; Value: string }
- { Kind: "json"; Value: string }
A value one debug-bag field is being set to.
Discriminated so the statement renders each with the right JSON type — a boolean stored as the string
"true"reads back as truthy-but-wrong, and an object stored as a string reads back as a string.nulldeletes the key.