@threadplane/coreTypeAliasv0.0.0

StateReading

Unpublished development API. This package is under development and is not available as a published release.

The outcome of checking one state a backend reported.

import type { StateReading } from '@threadplane/core';

Declaration

export type StateReading = {
    readonly valid: true;
    readonly value: unknown;
} | {
    readonly valid: false;
    readonly issues: readonly string[];
};