Skip to content

Commit

Permalink
refactor(geom): fix up TS4.4 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 3, 2021
1 parent f011450 commit 863fa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom/src/ctors/path-from-svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const pathFromSvg = (svg: string) => {
} catch (e) {
throw e instanceof Error
? e
: new Error(`illegal char '${svg.charAt(e)}' @ ${e}`);
: new Error(`illegal char '${svg.charAt(<number>e)}' @ ${e}`);
}
};

Expand Down

0 comments on commit 863fa33

Please sign in to comment.