Skip to content

Commit 03752e0

Browse files
committed
Fix typo
1 parent 55439f4 commit 03752e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* @template {Test} [Check=string]
6868
* Test type.
6969
* @typedef {Visitor<import('./complex-types.js').Matches<import('./complex-types.js').InclusiveDescendant<Tree>, Check>, Extract<import('./complex-types.js').InclusiveDescendant<Tree>, Parent>>} BuildVisitor
70-
* Build a typed `visitor` function from a tree and a test.
70+
* Build a typed `Visitor` function from a tree and a test.
7171
*
7272
* It will infer which values are passed as `node` and which as `parents`.
7373
*/

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* [`SKIP`](#skip)
2424
* [`Action`](#action)
2525
* [`ActionTuple`](#actiontuple)
26-
* [BuildVisitor](#buildvisitor)
26+
* [`BuildVisitor`](#buildvisitor)
2727
* [`Index`](#index)
2828
* [`Test`](#test)
2929
* [`Visitor`](#visitor)
@@ -166,9 +166,9 @@ type ActionTuple = [
166166
]
167167
```
168168
169-
### BuildVisitor
169+
### `BuildVisitor`
170170
171-
Build a typed `visitor` function from a tree and a test (TypeScript type).
171+
Build a typed `Visitor` function from a tree and a test (TypeScript type).
172172
173173
It will infer which values are passed as `node` and which as `parents`.
174174

0 commit comments

Comments
 (0)