@types/webpack-validator
TypeScript icon, indicating that this package has built-in type declarations

2.2.11 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/webpack-validator

Weekly Downloads

29

Version

2.2.11

License

MIT

Unpacked Size

3.93 kB

Total Files

5

Last publish

Collaborators

  • types