mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
13 lines
239 B
TypeScript
13 lines
239 B
TypeScript
import merge = require("webpack-merge");
|
|
import {Configuration} from "webpack";
|
|
|
|
const a: Configuration = {
|
|
entry: "test.js"
|
|
}
|
|
const b: Configuration = {
|
|
devtool: "source-map"
|
|
}
|
|
|
|
const c = merge(a, b);
|
|
const d = merge.smart(a, b);
|