Skip to content

Commit

Permalink
Fix createRequire type
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Sep 5, 2024
1 parent 7ac0c56 commit c7fb6fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/node/internal/module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
// Licensed under the Apache 2.0 license found in the LICENSE file or at:
// https://opensource.org/licenses/Apache-2.0

export function createRequire(path: string): (specifier: string) => unknown;
export function createRequire(
path: string | URL
): (specifier: string) => unknown;

0 comments on commit c7fb6fc

Please sign in to comment.