Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript support, closes #285 #406

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

goto-bus-stop
Copy link
Member

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

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.
@goto-bus-stop goto-bus-stop changed the title Add TypeScript support. Add TypeScript support, closes #285 Jan 31, 2018
@goto-bus-stop
Copy link
Member Author

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")

@yoshuawuyts
Copy link
Member

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

@goto-bus-stop
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants