Is there plugin (or sth similar) which indents/beautifies the tserrors?
E.g.:
Instead of having one looong line with a biiiiiig type like:
Property 'custom' does not exist on type '{ rule: { min?: number; max?: number; equalsRef?: string; matchRegexp?: string | RegExp; }; message: string; custom?: AnySchemaConstructor; }[]'.ts(2339)
I want to have a more human readable format like
Property 'custom' does not exist on type
'{
rule:
{
min?: number;
max?: number;
equalsRef?: string;
matchRegexp?: string | RegExp;
};
message: string;
custom?: AnySchemaConstructor;
}[]'.
ts(2339)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…