Skip to content

Commit 022693d

Browse files
committed
Fix docs
1 parent 29ddffc commit 022693d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type Options = {
1010
/**
1111
When this option is `true`, the method returns `false` if the stream has already been closed.
1212
13-
@default: `false` with `isStream()`, `true` with the other methods
13+
@default true
1414
*/
1515
checkOpen?: boolean;
1616
};

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/a
4848
#### checkOpen
4949

5050
Type: `boolean`\
51-
Default: `false` with [`isStream()`](#isstreamstream-options), `true` with the other methods
51+
Default: `true`
5252

5353
When this option is `true`, the method returns `false` if the stream has already been closed.
5454

0 commit comments

Comments
 (0)