blob: 52d6d590fd3930395a56a7661fe72e1d49fcf6fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[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<string[]> {}
```
## 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`**
|