Skip to content

Commit f896b52

Browse files
committed
Fix webpack type error
1 parent 62f3369 commit f896b52

File tree

3 files changed

+7
-26
lines changed

3 files changed

+7
-26
lines changed

package-lock.json

Lines changed: 4 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
"@types/mocha": "^5.2.7",
3434
"@types/node": "^8.10.49",
3535
"@types/stream-buffers": "^3.0.3",
36+
"@types/tapable": "^1.0.4",
3637
"@types/tmp": "^0.1.0",
37-
"@types/webpack": "^3.8.18",
38+
"@types/uglify-js": "^3.0.4",
3839
"chai": "^4.2.0",
3940
"cross-env": "^5.2.0",
4041
"mocha": "^6.1.4",

webpack/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/// <reference types="node" />
1111

12-
import * as Tapable from 'tapable';
12+
import { Tapable } from 'tapable';
1313
import * as UglifyJS from 'uglify-js';
1414
import * as SourceMap from 'source-map';
1515

0 commit comments

Comments
 (0)