bankai
bankai copied to clipboard
Add TypeScript support, closes #285
If typescript
is installed, add the tsify plugin.
If a syntax error occurs in a .ts
file, recommend installing
typescript
.
TODO: Catch and format errors from the typescript compiler…
Now also formatting typescript errors:
And did some work on syntax error messages for javascript too:
(Previously this would only show "Syntax Error")
@goto-bus-stop sick work! Question tho: none of this would work with server rendering, right?
Afraid that's correct 😄 that is also going to be an issue for react support with babel. Not sure what to do about that yet.