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

    2.2.9 • 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

    // 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.

    Keywords

    none

    Install

    npm i @types/webpack-validator

    DownloadsWeekly Downloads

    84

    Version

    2.2.9

    License

    MIT

    Unpacked Size

    4.48 kB

    Total Files

    4

    Last publish

    Collaborators

    • types