Skip to content

Commit fe53e37

Browse files
committed
docs: impr process output descr
1 parent ede4414 commit fe53e37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/process-output.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const o = await p // ProcessOutput
88
```
99

1010
```ts
11-
interface ProcessOutput {
11+
interface ProcessOutput extends Error {
1212
// Exit code of the process: 0 for success, non-zero for failure
1313
exitCode: number
1414

docs/process-promise.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Process Promise
22

3-
The `$` returns a `ProcessPromise` instance. When resolved, it becomes a [`ProcessOutput`](./process-output.md).
3+
The `$` returns a `ProcessPromise` instance, which inherits native `Promise`. When resolved, it becomes a [`ProcessOutput`](./process-output.md).
44

55
```js
66
const p = $`command` // ProcessPromise

0 commit comments

Comments
 (0)