ThreadDirectoryCommand
A view command that stands on an optional directory command: always present when the directory's type guarantees the command, otherwise possibly undefined, so a caller offers no control for it.
import type { ThreadDirectoryCommand } from '@threadplane/angular';Declaration
export type ThreadDirectoryCommand<TDirectory extends ThreadDirectory, K extends keyof ThreadDirectory, TCommand> = TCommand | (TDirectory[K] & undefined);Type parameters
TDirectoryThreadDirectoryKkeyof ThreadDirectoryTCommand