[ts-types-lang](../README.md) / [Modules](../modules.md) / [ref](../modules/ref.md) / CreateRef # Interface: CreateRef<_Val\> [ref](../modules/ref.md).CreateRef Generic interface for declaring effects **`Example`** ```ts interface MyEffect extends Effect {} ``` ## Type parameters | Name | Description | | :------ | :------ | | `_Val` | The output generated by the effect (defaults to `unknown`) | ## Hierarchy - [`Effect`](effect.Effect.md)<[`Ref`](../modules/ref.md#ref)\> ↳ **`CreateRef`**