Skip to content

Commit

Permalink
chore: fix ts issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 22, 2023
1 parent 311c72b commit f778562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/node/url/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://nodejs.org/api/url.html
import type url from "node:url";

// @ts-expect-error https://github.com/unjs/unenv/issues/65
// TODO: https://github.com/unjs/unenv/issues/65
export const URL = globalThis.URL as typeof url.URL;

export const URLSearchParams = globalThis.URLSearchParams;
Expand Down

0 comments on commit f778562

Please sign in to comment.