Microsoft/TypeScript

Suggestion: tsc should display a one line summary

Open

#14.211 aberto em 21 de fev. de 2017

Ver no GitHub
 (10 comments) (12 reactions) (0 assignees)TypeScript (6.726 forks)batch import
Help WantedSuggestion

Métricas do repositório

Stars
 (48.455 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)

Description

Suggestion: tsc currently list the errors. Sometimes you want to see if the number of errors increases or decreases.

Proposition:

$ tsc
FooBar.tsx(66,59): error TS2339: Property 'query' does not exist on type 'Location'.
Hello.tsx(42,60): error TS2339: Property 'query' does not exist on type 'Location'.
dispatcher.ts(1,13): error TS6133: '_' is declared but never used.
World.test.ts(3,35): error TS7006: Parameter 'reason' implicitly has an 'any' type.
World.test.ts(3,43): error TS7006: Parameter 'promise' implicitly has an 'any' type.
World.test.ts(18,13): error TS6133: 'hello' is declared but never used.
mock.ts(194,23): error TS6133: 'ruleId' is declared but never used.
mock.ts(221,8): error TS2339: Property 'fetch' does not exist on type 'Window'.

Compilation done in 2.6s - 8 errors
$ tsc
[...]
Compilation aborted [...]

Could be the opportunity to display other informations (compilation time for example) given that it fits in a single line (72 columns).

(I'm not talking about --diagnostics)

Guia do colaborador