mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
* Use index.d.ts only (not foo/foo.d.ts) * Convert more packages * Remove unnecessary references
26 lines
734 B
TypeScript
26 lines
734 B
TypeScript
// Type definitions for webpack-merge
|
|
// Project: https://github.com/survivejs/webpack-merge
|
|
// Definitions by: Simon Hartcher <https://github.com/deevus>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
///<reference types="webpack" />
|
|
|
|
declare module "webpack-merge" {
|
|
import {Configuration} from "webpack";
|
|
|
|
interface WebpackMerge {
|
|
/**
|
|
* Merge multiple webpack configurations into one.
|
|
*/
|
|
(...configs: Configuration[]): Configuration;
|
|
|
|
/**
|
|
* Merge multiple webpack configurations into one, with smart merging of loaders.
|
|
*/
|
|
smart(...configs: Configuration[]): Configuration;
|
|
}
|
|
|
|
const merge: WebpackMerge;
|
|
export = merge;
|
|
}
|