issues
search
ohmjs
/
ohm
A library and language for building parsers, interpreters, compilers, etc.
MIT License
5.01k
stars
217
forks
source link
Improve generated TS types; autogen main index.d.ts
#314
Closed
pdubroy
closed
3 years ago
pdubroy
commented
3 years ago
BREAKING CHANGE:
add a required type parameter to Action, ActionDict, and related methods, which is the return type of the actions.
Add script for autogenerating ohm-js/index.d.ts.
Move types for built-in rules into the main index.d.ts file, and don’t include them in the autogenerated types for user grammars.