Skip to content

Commit

Permalink
fix two minor issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Jun 14, 2024
1 parent 23be816 commit 7a2fb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common-lib/src/formatters/formatUnit.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { roundTo } from '../math/roundTo';
import { roundTo } from '../math/roundTo.js';

export type Unit = {
value: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/common-lib/src/utilities/errorToString.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function errorToString(error: any) {
export function errorToString(error: Error) {
return JSON.stringify(error, Object.getOwnPropertyNames(error), 2);
}

0 comments on commit 7a2fb77

Please sign in to comment.