blob: 873a34b43a1443aadd261a967c18731175dbf89d (
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
|
[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<string[]> {}
```
## 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`**
|