Add webpack type definitions

This commit is contained in:
Dolan
2019-01-23 20:09:32 +00:00
parent b22f565dd0
commit 40730548bb
2 changed files with 4 additions and 1 deletions

View File

@ -64,6 +64,7 @@
"@types/mocha": "^2.2.39", "@types/mocha": "^2.2.39",
"@types/request-promise": "^4.1.42", "@types/request-promise": "^4.1.42",
"@types/sinon": "^4.3.1", "@types/sinon": "^4.3.1",
"@types/webpack": "^4.4.24",
"awesome-typescript-loader": "^3.4.1", "awesome-typescript-loader": "^3.4.1",
"chai": "^3.5.0", "chai": "^3.5.0",
"glob": "^7.1.2", "glob": "^7.1.2",

View File

@ -1,4 +1,6 @@
// tslint:disable:no-object-literal-type-assertion
import * as path from "path"; import * as path from "path";
import { Configuration } from "webpack";
module.exports = { module.exports = {
entry: "./src/index.ts", entry: "./src/index.ts",
@ -33,4 +35,4 @@ module.exports = {
// Because docx is now targetting web // Because docx is now targetting web
// target: 'node', // target: 'node',
}; } as Configuration;