Skip to content

Commit c4c334e

Browse files
authored
Fix type docs for inspect
Closes GH-22. Reviewed-by: Titus Wormer <[email protected]>
1 parent a618811 commit c4c334e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const emptyOptions = {}
1313
const own = {}.hasOwnProperty
1414

1515
/**
16-
* Inspect a node, without color.
16+
* Inspect a tree.
1717
*
1818
* @param {unknown} tree
1919
* Tree to inspect.

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ There is no default export.
9898

9999
### `inspect(tree[, options])`
100100

101-
Inspect a tree, with color in Node, without color in browsers.
101+
Inspect a tree.
102102

103103
###### Parameters
104104

0 commit comments

Comments
 (0)