Skip to content

Commit 2e4d378

Browse files
committed
👍 Use with instead of assert for import options.
1 parent 5808b72 commit 2e4d378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/browse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export async function readAliasesFile(): Promise<Record<string, string>> {
5959
}
6060
try {
6161
return await import(join(cdir, "browse", "aliases.json"), {
62-
assert: { type: "json" },
62+
with: { type: "json" },
6363
});
6464
} catch (err) {
6565
if (err instanceof TypeError) {

0 commit comments

Comments
 (0)