blob: f0c04b6b50e18c029bdb40f33b4f058965a76294 (
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) / [sys](../modules/sys.md) / JsExpr
# Interface: JsExpr<_Expr\>
[sys](../modules/sys.md).JsExpr
Generic interface for declaring effects
**`Example`**
```ts
interface MyEffect extends Effect<string[]> {}
```
## Type parameters
| Name | Type | Description |
| :------ | :------ | :------ |
| `_Expr` | extends `string` | The output generated by the effect (defaults to `unknown`) |
## Hierarchy
- [`Effect`](effect.Effect.md)<`any`\>
↳ **`JsExpr`**
|