Skip to content

Commit

Permalink
fix: add missing require to cjs interface
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 20, 2021
1 parent 146a058 commit 9bdffc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.d.ts
Expand Up @@ -3,6 +3,7 @@
export interface CommonjsContext {
__filename: string
__dirname: string
require: NodeRequire
}

export function createCommonJS (url: string) : CommonjsContext
Expand Down

0 comments on commit 9bdffc3

Please sign in to comment.