Skip to content

Commit

Permalink
fix: typing error in plugin.resolveExternals
Browse files Browse the repository at this point in the history
  • Loading branch information
guansss committed Nov 3, 2023
1 parent 9276c4b commit 4fececc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/MonkeyPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ export class MonkeyPlugin {

resolveExternals(
data: ExternalItemFunctionData,
callback: (err?: Error, result?: ExternalItemValue) => void,
callback: (err?: Error | null, result?: ExternalItemValue) => void,
userDefinedExternals?:
| Record<string, ExternalItemValue>
| ExtractFunction<Configuration["externals"]>
Expand Down

0 comments on commit 4fececc

Please sign in to comment.