You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Visual Code Studio, the .h is displayed in red.
ng serve create follow error:
ERROR in src/app/invoice/services/invoice-print.service.ts:117:46 - error TS2339: Property 'h' does not exist on type '{ x: number; y: number; }'.
117 const heigth = Math.ceil(dim.h) - 8;
The text was updated successfully, but these errors were encountered:
Yes, and I fixed this in #2848. As I commented on the other issue (#2845), you can workaround this issue by adding a @ts-ignore comment to the line until the fix is released. The code will work at runtime, despite the error.
HI,
my code:
const dim = this.doc.getTextDimensions(strArr, { maxWidth: 170 }); const heigth = Math.ceil(dim.h) - 8;
In Visual Code Studio, the .h is displayed in red.
ng serve create follow error:
ERROR in src/app/invoice/services/invoice-print.service.ts:117:46 - error TS2339: Property 'h' does not exist on type '{ x: number; y: number; }'.
117 const heigth = Math.ceil(dim.h) - 8;
The text was updated successfully, but these errors were encountered: