Skip to content

Commit

Permalink
Merge pull request #525 from hildjj/start-rules-dts
Browse files Browse the repository at this point in the history
Update typescript types with StartRules
  • Loading branch information
hildjj authored Jun 19, 2024
2 parents aa1073f + edd042a commit fa8fe65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ Unreleased
### Bug fixes
- [#507](https://github.com/peggyjs/peggy/pull/507) Remove stray semicolon in CSS
- [#508](https://github.com/peggyjs/peggy/pull/508) Fix broken text input
- [#512](https://github.com/peggyjs/peggy/pull/512) Add "StartRules" to peg.d.ts.
- [#513](https://github.com/peggyjs/peggy/pull/513) Allow whitespace between
plucked word and its pattern.
- [#520](https://github.com/peggyjs/peggy/pull/520) Grammar with token "constructor" fails to generate
- [#522](https://github.com/peggyjs/peggy/pull/522) Switched from puppeteer
to playwright for web tests, and added them to CI.
- [#513](https://github.com/peggyjs/peggy/pull/513) Allow whitespace between
plucked word and its pattern.

### Documentation
- [#506](https://github.com/peggyjs/peggy/pull/506) Added END OF INPUT (`!.`).
Expand Down
1 change: 1 addition & 0 deletions lib/peg.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@ export interface LibraryResults {
}

export interface Parser {
StartRules: string[];
SyntaxError: parser.SyntaxErrorConstructor;

parse(
Expand Down

0 comments on commit fa8fe65

Please sign in to comment.