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

feat(ts): prettier error messages #5789

Closed
dylanvdmerwe opened this issue Mar 10, 2016 · 1 comment
Closed

feat(ts): prettier error messages #5789

dylanvdmerwe opened this issue Mar 10, 2016 · 1 comment
Assignees

Comments

@dylanvdmerwe
Copy link
Contributor

Short description of the problem:

When compiling TypeScript, use the --pretty flag for the TypeScript compiler.

What behavior are you expecting?

See here for more information.

Which Ionic Version? 2.x

@tlancina
Copy link
Contributor

tlancina commented Apr 1, 2016

As far as I can tell, this only works when using tsc and is not exposed to tooling: https://github.com/Microsoft/TypeScript/blob/68bdbe04e73fc4eb66d744a1a89bbd3baf162a87/src/compiler/tsc.ts#L129, so it doesn't work with webpack loaders or browserify plugins/transforms at the moment.

But I think it's possible for things like tsify to replicate the pretty output with the additional diagnostic information.

Going to close this as it's not an Ionic issue, but here's an issue for tsify you can track: TypeStrong/tsify#123.

@tlancina tlancina closed this as completed Apr 1, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants