Skip to content

Commit fd5fe07

Browse files
committed
update readme
1 parent 79105e5 commit fd5fe07

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
@@ -142,7 +142,7 @@ export interface JSONVisitor {
142142
/**
143143
* Parses the given text and returns a tree representation the JSON content. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
144144
*/
145-
export declare function parseTree(text: string, errors?: ParseError[], options?: ParseOptions): Node;
145+
export declare function parseTree(text: string, errors?: ParseError[], options?: ParseOptions): Node | undefined;
146146

147147
export declare type NodeType = "object" | "array" | "property" | "string" | "number" | "boolean" | "null";
148148
export interface Node {

0 commit comments

Comments
 (0)