Generated code doesn't compile with 'noImplicitAny'
mukilan opened this issue · 1 comments
mukilan commented
Parsers that are generated with the "returnTypes" option do not type check when 'noImplicitAny' option is turned on.
For example, running tsc on the generated 'arithmetics-typed.ts' example produces the following:
▶ npx tsc --noImplicitAny output/arithmetics-typed.ts
output/arithmetics-typed.ts(940,5): error TS2322: Type '{}' is not assignable to type 'number'.
andrewtelnov commented