Skip to content

Commit 6f2b031

Browse files
authored
Fix README example for JsonParser
1 parent c87e8c8 commit 6f2b031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Optionally, specify the expected root node type to narrow down the result:
8484
```ts
8585
import {JsonParser, JsonObjectNode} from '@croct/json5-parser';
8686

87-
const node = JsonParser.parse<JsonObjectNode>(
87+
const node = JsonParser.parse(
8888
`{
8989
// Comment
9090
"name": "John Doe",

0 commit comments

Comments
 (0)