Skip to content

Commit

Permalink
fix(imports): specify ".js" on local imports for full ESM compat
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Aug 12, 2024
1 parent fe1a493 commit 46ee6c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/yahooFinanceTypes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Type } from "@sinclair/typebox";
import { Value } from "@sinclair/typebox/value";
import { FormatRegistry } from "@sinclair/typebox";
import { isDate, isDateTime, isYear } from "./datetime";
import { isDate, isDateTime, isYear } from "./datetime.js";

FormatRegistry.Set("date", isDate);
FormatRegistry.Set("date-time", isDateTime);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/quoteSummary-iface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
NullableYahooNumber,
YahooFinanceDate,
YahooNumber,
} from "../lib/yahooFinanceTypes";
} from "../lib/yahooFinanceTypes.js";

/*
* To generate the initial file, we took the output of all submodules for
Expand Down

0 comments on commit 46ee6c1

Please sign in to comment.