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