diff --git a/src/js/utils/helpers.ts b/src/js/utils/helpers.ts index b5afd5f..0378418 100644 --- a/src/js/utils/helpers.ts +++ b/src/js/utils/helpers.ts @@ -29,7 +29,7 @@ export function getStandardPageName(width: any, height: any) { } export function convertPoints(points: any, unit: any) { - let result = 0; + let result: number; switch (unit) { case 'in': result = points / 72;