mirror of https://github.com/webpack/webpack.git
Add NormalModuleReplacementPlugin argument type
This commit is contained in:
parent
9fcaa24357
commit
f757c2153b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue