bankai icon indicating copy to clipboard operation
bankai copied to clipboard

Add TypeScript support, closes #285

Open goto-bus-stop opened this issue 7 years ago • 3 comments

If typescript is installed, add the tsify plugin.

If a syntax error occurs in a .ts file, recommend installing typescript.

image

TODO: Catch and format errors from the typescript compiler…

image

goto-bus-stop avatar Jan 31 '18 14:01 goto-bus-stop

Now also formatting typescript errors:

image

And did some work on syntax error messages for javascript too: image (Previously this would only show "Syntax Error")

goto-bus-stop avatar Feb 02 '18 12:02 goto-bus-stop

@goto-bus-stop sick work! Question tho: none of this would work with server rendering, right?

yoshuawuyts avatar Feb 02 '18 14:02 yoshuawuyts

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.

goto-bus-stop avatar Feb 02 '18 15:02 goto-bus-stop