Improve types of generated code
Improve types of generated code

- i,j variables defined as numbers
- remove 'any' from peg$FAILED, use a Readonly<{}>
- peg$maxFailExpected is defined as Expectation[]

metadevpro/ts-pegjs