Skip to content

Commit 011d54f

Browse files
committed
chore: add parser types
1 parent 3085c77 commit 011d54f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

types/lib/parser.d.cts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
declare function peg$SyntaxError(message: any, expected: any, found: any, location: any): Error;
2+
declare class peg$SyntaxError {
3+
constructor(message: any, expected: any, found: any, location: any);
4+
format(sources: any): string;
5+
}
6+
declare namespace peg$SyntaxError {
7+
function buildMessage(expected: any, found: any): string;
8+
}
9+
declare function peg$parse(input: any, options: any): any;
10+
export declare let StartRules: string[];
11+
export { peg$SyntaxError as SyntaxError, peg$parse as parse };
12+
//# sourceMappingURL=parser.d.cts.map

types/lib/parser.d.cts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)