Skip to content

Commit 1a0d337

Browse files
authored
docs: mention @types/node and @types/fs-extra requirements (google#1134)
1 parent fb2161b commit 1a0d337

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/setup.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ import { $ } from 'zx'
5858
const { $ } = require('zx')
5959
```
6060

61-
It has also built-in TypeScript libdefs.
61+
It has also built-in TypeScript libdefs. But `@types/fs-extra` and `@types/node` are required to be installed on user's side.
62+
63+
```bash
64+
npm i -D @types/fs-extra @types/node
65+
```
6266

6367
```ts
6468
import { type Options } from 'zx'

0 commit comments

Comments
 (0)