Skip to content

Commit

Permalink
Fix dts errors caught by deno
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Sep 8, 2024
1 parent 74186b2 commit 8ae8666
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/generated_template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface Location {
*
* The GrammarLocation class in Peggy is a good example.
*/
export interface GrammarSourceObject extends Stringable {
export interface GrammarSourceObject {
readonly toString: () => string;

/**
Expand Down Expand Up @@ -194,7 +194,6 @@ export interface ParseOptions<T extends StartRuleNames = $$$DefaultStartRule$$$>
}

export declare const StartRules: StartRuleNames[];
export declare const SyntaxError: typeof _PeggySyntaxError;
export declare const parse: typeof ParseFunction;

// Overload of ParseFunction for each allowedStartRule

0 comments on commit 8ae8666

Please sign in to comment.