---
id: fast-element.fastelementdefinition.fortype
title: FASTElementDefinition.forType property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [FASTElementDefinition](./fast-element.fastelementdefinition.md) &gt; [forType](./fast-element.fastelementdefinition.fortype.md)

## FASTElementDefinition.forType property

Gets the element definition associated with the specified type.

<b>Signature:</b>

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