Skip to content
Threadplane
Pricing
164Talk to Us
@threadplane/angular/chatTypeAliasv0.3.7

ViewProps

Reverse helper: derive a component's input prop types FROM a schema, so a component authored straight from the schema is guaranteed compatible.

View sourceView Markdown
import type { ViewProps } from '@threadplane/angular/chat';

Declaration

export type ViewProps<S extends StandardSchemaV1> = Prettify<StandardSchemaInferOutput<S>>;

Type parameters

S
StandardSchemaV1