@@ -79,7 +79,7 @@ import {
79
79
WithStatement ,
80
80
YieldExpression
81
81
} from "estree" ;
82
- import { ValidationError , validate } from "schema-utils" ;
82
+ import { ValidationError , validate as validateFunction } from "schema-utils" ;
83
83
import { ValidationErrorConfiguration } from "schema-utils/declarations/validate" ;
84
84
import {
85
85
AsArray ,
@@ -7181,7 +7181,7 @@ declare abstract class NormalModuleFactory extends ModuleFactory {
7181
7181
declare interface NormalModuleLoaderContext < OptionsType > {
7182
7182
version : number ;
7183
7183
getOptions ( ) : OptionsType ;
7184
- getOptions ( schema : Parameters < typeof validate > [ 0 ] ) : OptionsType ;
7184
+ getOptions ( schema : Parameters < typeof validateFunction > [ 0 ] ) : OptionsType ;
7185
7185
emitWarning ( warning : Error ) : void ;
7186
7186
emitError ( error : Error ) : void ;
7187
7187
getLogger ( name ?: string ) : WebpackLogger ;
@@ -11929,8 +11929,8 @@ declare namespace exports {
11929
11929
} ;
11930
11930
export const validate : ( options ?: any ) => void ;
11931
11931
export const validateSchema : (
11932
- schema : Parameters < typeof validate > [ 0 ] ,
11933
- options : Parameters < typeof validate > [ 1 ] ,
11932
+ schema : Parameters < typeof validateFunction > [ 0 ] ,
11933
+ options : Parameters < typeof validateFunction > [ 1 ] ,
11934
11934
validationConfiguration ?: ValidationErrorConfiguration
11935
11935
) => void ;
11936
11936
export const version : string ;
0 commit comments