aboutsummaryrefslogtreecommitdiff
path: root/docs/interfaces/fs.ReadFile.md
blob: 81bfbc691749419e23f7b8accdba51e7a7d72c21 (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) / [fs](../modules/fs.md) / ReadFile

# Interface: ReadFile<_Path\>

[fs](../modules/fs.md).ReadFile

Generic interface for declaring effects

**`Example`**

```ts
interface MyEffect extends Effect<string[]> {}
```

## Type parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `_Path` | extends `string` | The output generated by the effect (defaults to `unknown`) |

## Hierarchy

- [`Effect`](effect.Effect.md)<`string`\>

  ↳ **`ReadFile`**