2.2.11 • Published 6 months ago
@types/webpack-validator v2.2.11
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
// Type definitions for webpack-validator v2.2.6
// Project: https://github.com/js-dxtools/webpack-validator
// Definitions by: Simon Hartcher <https://github.com/deevus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
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: Fri, 02 Jul 2021 18:05:32 GMT
- Dependencies: @types/webpack
- Global values: none
Credits
These definitions were written by Simon Hartcher.