mirror of https://github.com/webpack/webpack.git
change type declaration of util.deprecate to enforce code argument
This commit is contained in:
parent
ba90a1d20e
commit
3a319bf1cd
|
@ -12,7 +12,7 @@ declare module "util" {
|
|||
function deprecate<T extends Function>(
|
||||
fn: T,
|
||||
message: string,
|
||||
code?: string
|
||||
code: string
|
||||
): T;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue