@empathyco/x-components
Version:
Empathy X Components
61 lines (28 loc) • 784 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [NamedModel](./x-types.namedmodel.md)
## NamedModel interface
Common interface to ease the differentiate between different model types.
**Signature:**
```typescript
export interface NamedModel<T extends ModelNameType = ModelNameType>
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[modelName](./x-types.namedmodel.modelname.md)
</td><td>
`readonly`
</td><td>
T
</td><td>
The [model name](./x-types.modelnametype.md) value.
</td></tr>
</tbody></table>