plasma-umass / browsix

Browsix is a Unix-like operating system for the browser.
Other
3.16k stars 182 forks source link

fix typescript errors, potentially by updating to 1.8 #8

Open bpowers opened 8 years ago

bpowers commented 8 years ago

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.

bpowers commented 8 years ago

(the way forward here, I think, is providing .d.ts files)

mbana commented 7 years ago

Please see this PR: https://github.com/plasma-umass/browsix/pull/42. I can't get it to compile either...

bpowers commented 7 years ago

@mbana noted! I'll bump this up on the priority list