Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overload #543

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Overload #543

merged 2 commits into from
Aug 20, 2024

Conversation

hildjj
Copy link
Contributor

@hildjj hildjj commented Aug 20, 2024

Further tweak to #538 to fix #477.

Add a final overload to parse that includes the union of all possible types. This allows passing in a startRule value of type StartRules, in addition to just a constant string.

@hildjj hildjj merged commit 74186b2 into peggyjs:main Aug 20, 2024
10 checks passed
@hildjj hildjj deleted the overload branch August 21, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript .d.ts for generated grammars
1 participant