@threadplane/angularTypeAliasv0.3.7

AgentSnapshotOf

The snapshot type a session publishes.

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

Declaration

export type AgentSnapshotOf<TSession> = TSession extends {
    getSnapshot(): infer TSnapshot;
} ? TSnapshot : never;

Type parameters

TSession