pretty-ts-errors
pretty-ts-errors copied to clipboard
TS2322 not rendered correctly
trafficstars
Describe the bug ts(2322) is rendererd partly wrong at the end. These are the relevant properties
#overlaps!: OverlapConfigurationParameters[];
private async download(file: File<string | MpcdiZip>): Promise<void>
Expected behavior each property listed gets its own bullet point
Original error
Type 'Ref<{ name: string; readonly type: "json"; mm: <T extends Convertible = Convertible>(px: T) => T; px: <T extends Convertible = Convertible>(mm: T) => T; ... 18 more ...; toJson: () => string; }>' is not assignable to type 'Ref<MpcdiConfiguration>'.
Type '{ name: string; readonly type: "json"; mm: <T extends Convertible = Convertible>(px: T) => T; px: <T extends Convertible = Convertible>(mm: T) => T; ... 18 more ...; toJson: () => string; }' is missing the following properties from type 'MpcdiConfiguration': ratio, #overlaps, download
Screenshots
is missing the following properties from type
MpcdiConfiguration:
- ratio, #overlaps, download
Issue is the private property prefix character #, I submitted a PR #106
Thank you, the fix will be there in the next version