Skip to content

Commit

Permalink
Merge pull request #547 from hildjj/dts-errors
Browse files Browse the repository at this point in the history
Fix dts errors caught by deno
  • Loading branch information
hildjj authored Sep 8, 2024
2 parents 74186b2 + 74f8f57 commit a7b6f73
Show file tree
Hide file tree
Showing 5 changed files with 277 additions and 270 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
2 changes: 1 addition & 1 deletion docs/js/test-bundle.min.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.3.11",
"@types/jest": "^29.5.12",
"@types/node": "^22.4.1",
"@types/node": "^22.5.4",
"chai": "^4.3.11",
"chai-like": "^1.1.1",
"copyfiles": "^2.4.1",
"eslint": "^9.9.0",
"eslint": "^9.10.0",
"eslint-plugin-compat": "6.0.0",
"eslint-plugin-mocha": "10.5.0",
"express": "4.19.2",
"glob": "^11.0.0",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"rollup": "^4.21.0",
"rollup": "^4.21.2",
"rollup-plugin-ignore": "1.0.10",
"source-map": "^0.8.0-beta.0",
"terser": "^5.31.6",
"ts-jest": "^29.2.4",
"tslib": "^2.6.3",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typescript": "^5.5.4",
"typescript-eslint": "8.2.0"
"typescript-eslint": "8.4.0"
},
"dependencies": {
"@peggyjs/from-mem": "1.3.4",
Expand All @@ -89,7 +89,7 @@
"browserslist": [
"defaults, maintained node versions, not op_mini all"
],
"packageManager": "pnpm@9.7.1",
"packageManager": "pnpm@9.9.0",
"engines": {
"node": ">=18"
}
Expand Down
Loading

0 comments on commit a7b6f73

Please sign in to comment.