Skip to content
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here
Your logo here

Output Formatting

noErrorTruncation

Do not truncate error messages.

With false, the default.

ts
var 
x
: {
propertyWithAnExceedinglyLongName1
: string;
propertyWithAnExceedinglyLongName2
: string;
propertyWithAnExceedinglyLongName3
: string;
propertyWithAnExceedinglyLongName4
: string;
propertyWithAnExceedinglyLongName5
: string;
propertyWithAnExceedinglyLongName6
: string;
propertyWithAnExceedinglyLongName7
: string;
propertyWithAnExceedinglyLongName8
: string;
}; // String representation of type of 'x' should be truncated in error message var s: string = x;
Variable 'x' is used before being assigned.
Type '{ propertyWithAnExceedinglyLongName1: string; propertyWithAnExceedinglyLongName2: string; propertyWithAnExceedinglyLongName3: string; propertyWithAnExceedinglyLongName4: string; propertyWithAnExceedinglyLongName5: string; propertyWithAnExceedinglyLongName6: string; propertyWithAnExceedinglyLongName7: string; propert...' is not assignable to type 'string'.
Try

With true

ts
var 
x
: {
propertyWithAnExceedinglyLongName1
: string;
propertyWithAnExceedinglyLongName2
: string;
propertyWithAnExceedinglyLongName3
: string;
propertyWithAnExceedinglyLongName4
: string;
propertyWithAnExceedinglyLongName5
: string;
propertyWithAnExceedinglyLongName6
: string;
propertyWithAnExceedinglyLongName7
: string;
propertyWithAnExceedinglyLongName8
: string;
}; // String representation of type of 'x' should be truncated in error message var s: string = x;
Variable 'x' is used before being assigned.
Type '{ propertyWithAnExceedinglyLongName1: string; propertyWithAnExceedinglyLongName2: string; propertyWithAnExceedinglyLongName3: string; propertyWithAnExceedinglyLongName4: string; propertyWithAnExceedinglyLongName5: string; propertyWithAnExceedinglyLongName6: string; propertyWithAnExceedinglyLongName7: string; propertyWithAnExceedinglyLongName8: string; }' is not assignable to type 'string'.
Try

preserveWatchOutput Internal

Whether to keep outdated console output in watch mode instead of clearing the screen every time a change happened.

pretty

  • Default: true

  • Released: 1.8

Stylize errors and messages using color and context, this is on by default — offers you a chance to have less terse, single colored messages from the compiler.