Skip to content

Commit 4b51785

Browse files
authored
Merge pull request #16 from lambdalisue/fix-lint
👍 Use `with` instead of `assert` for `import` options.
2 parents 5808b72 + 2e4d378 commit 4b51785

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)