Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 19, 2024
1 parent 29ddffc commit 022693d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type Options = {
/**
When this option is `true`, the method returns `false` if the stream has already been closed.
@default: `false` with `isStream()`, `true` with the other methods
@default true
*/
checkOpen?: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/a
#### checkOpen

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

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

Expand Down

0 comments on commit 022693d

Please sign in to comment.