browsix
browsix copied to clipboard
fix typescript errors, potentially by updating to 1.8
We currently have a few typescript errors like:
src/kernel/kernel.ts(16,28): error TS2307: Cannot find module './http_parser'.
This is due to the way I've mixed in JS from the node stdlib with our own typescript -- the TypeScript compiler can't see the module, but it is present during the browserify run. I think the new TypeScript feature that lets you pass JS through the typescript compiler will fix this.
(the way forward here, I think, is providing .d.ts files)
Please see this PR: https://github.com/plasma-umass/browsix/pull/42. I can't get it to compile either...
@mbana noted! I'll bump this up on the priority list