Skip to main content

@microsoft/fast-element > FASTElementDefinition > forType

FASTElementDefinition.forType property

Gets the element definition associated with the specified type.

Signature:
static readonly forType: <TType_1 extends Function>(key: TType_1) => FASTElementDefinition<Function> | undefined;