ReasonablyTyped
ReasonablyTyped copied to clipboard
Better error output for parse errors
Right now the parse errors are really bad:
Error: Parse_error.Error: undefined
at Object.compile (/usr/local/lib/node_modules/reasonably-typed/lib/index.js:45:11)
at fs.readFile (/usr/local/lib/node_modules/reasonably-typed/lib/cli.js:86:40)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:503:3)
We should make this better. I'm thinking something like the codeframe errors we do now for Modulegen errors.
I'd like to tackle this, please?
Go for it 😁 feel free to PM me on discord if you need any help!