2.2.11 • Published 6 months ago

@types/webpack-validator v2.2.11

Weekly downloads
102
License
MIT
Repository
github
Last release
6 months ago

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.

2.2.11

6 months ago

2.2.10

7 months ago

2.2.9

3 years ago

2.2.8

3 years ago

2.2.7

6 years ago

2.2.6

6 years ago

2.2.5

7 years ago

2.2.4

7 years ago

2.2.3

8 years ago

2.2.2

8 years ago

2.2.1

8 years ago