UNPKG

@empathyco/x-components

Version:
61 lines (28 loc) 784 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [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>