Skip to content

Commit

Permalink
Add NormalModuleReplacementPlugin argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 26, 2022
1 parent 9fcaa24 commit f757c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types.d.ts
Expand Up @@ -7890,10 +7890,10 @@ declare class NormalModuleReplacementPlugin {
*/
constructor(
resourceRegExp: RegExp,
newResource: string | ((arg0?: any) => void)
newResource: string | ((resource?: { request: string }) => void)
);
resourceRegExp: RegExp;
newResource: string | ((arg0?: any) => void);
newResource: string | ((resource?: { request: string }) => void);

/**
* Apply the plugin
Expand Down

0 comments on commit f757c21

Please sign in to comment.