Installation
npm install --save @types/webpack-validator
Summary
This package contains type definitions for webpack-validator (https://github.com/js-dxtools/webpack-validator).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-validator.
index.d.ts
declare module "webpack-validator" {
import { Configuration } from "webpack";
interface ValidationOptions {
"no-root-files-node-modules-nameclash"?: boolean | undefined;
"loader-enforce-include-or-exclude"?: boolean | undefined;
"loader-prefer-include"?: boolean | undefined;
}
/**
* Validate your webpack configs with joi
*/
function Validate(config: Configuration): Configuration;
/**
* Validate your webpack configs with joi
*/
function Validate(config: Configuration, options: ValidationOptions): Configuration;
export = Validate;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/webpack
Credits
These definitions were written by Simon Hartcher.