Skip to content

Commit

Permalink
Change to 'declare function'
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Jul 28, 2024
1 parent caecbb7 commit f895d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/peggy-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class PeggyCLI extends Command {
) || {};
for (const sr of startRules) {
out.write(`
export function ParseFunction<Options extends ParseOptions<"${sr}">>(
declare function ParseFunction<Options extends ParseOptions<"${sr}">>(
input: string,
options?: Options,
): ${types[sr] || "any"};
Expand Down

0 comments on commit f895d44

Please sign in to comment.