Skip to content

Commit 3350e30

Browse files
committed
Additional docs on originalPath
1 parent 2ce436d commit 3350e30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ The `parse` function accepts a string and returns `TokenData`, which can be used
153153

154154
`TokenData` has two properties:
155155

156-
- **tokens** A sequence of tokens, currently of types `text`, `parameter`, `wildcard`, or `group`
157-
- **originalPath** The original path used with `parse`
156+
- **tokens** A sequence of tokens, currently of types `text`, `parameter`, `wildcard`, or `group`.
157+
- **originalPath** The original path used with `parse`, shown in error messages to assist debugging.
158158

159159
### Custom path
160160

0 commit comments

Comments
 (0)