Skip to content

feat(ts): prettier error messages #5789

Closed

Description

@dylanvdmerwe

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

Activity

  1. tlancina commented on Apr 1, 2016

    @tlancina
    Contributor

    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.

  2. locked and limited conversation to collaborators on Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions