Skip to content

Commit

Permalink
Refactor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 8, 2023
1 parent 357e056 commit 35beb54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export class VFileMessage extends Error {
/**
* Create a message for `reason`.
*
* > 👉 **Note**: in addition to the signature with `options`, there are
* > several legacy signatures still supported.
* > 🪦 **Note**: also has obsolete signatures.
*
* @overload
* @param {string} reason
Expand Down
7 changes: 3 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ There is no default export.

Create a message for `reason`.

> 👉 **Note**: in addition to the signature with `options`, there are
> several legacy signatures still supported.
> 🪦 **Note**: also has obsolete signatures.
###### Parameters

Expand Down Expand Up @@ -174,12 +173,12 @@ The following fields are documented and typed here.
## Types

This package is fully typed with [TypeScript][].
It exports no additional types.
It exports the additional type [`Options`][api-options].

## Compatibility

Projects maintained by the unified collective are compatible with maintained
versions of Node.js (as of June 2023, that is Node.js 16+).
versions of Node.js.

When we cut a new major release, we drop support for unmaintained versions of
Node.
Expand Down

0 comments on commit 35beb54

Please sign in to comment.