@threadplane/angularTypeAliasv0.3.7

AgentFieldSignals

One read-only signal for each snapshot field. An optional field is a signal of its value or undefined, so a template never has to ask whether the signal itself exists.

import type { AgentFieldSignals } from '@threadplane/angular';

Declaration

export type AgentFieldSignals<TSnapshot> = {
    readonly [K in keyof TSnapshot]-?: Signal<TSnapshot[K]>;
};

Type parameters

TSnapshot