Skip to content

Commit 2b66263

Browse files
Mohsen Azimisokra
authored andcommitted
TS now understands module.exports assignments
microsoft/TypeScript#23228
1 parent 0ea9b98 commit 2b66263

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

lib/debug/ProfilingPlugin.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,5 @@ const makeNewProfiledTapFn = (
416416
}
417417
};
418418

419-
// @ts-ignore https://github.com/Microsoft/TypeScript/issues/15647
420419
module.exports = ProfilingPlugin;
421420
module.exports.Profiler = Profiler;

lib/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-nocheck https://github.com/Microsoft/TypeScript/issues/15647
21
/*
32
MIT License http://www.opensource.org/licenses/mit-license.php
43
Author Tobias Koppers @sokra
@@ -61,6 +60,7 @@ const webpack = (options, callback) => {
6160
return compiler;
6261
};
6362

63+
// @ts-ignore https://github.com/Microsoft/TypeScript/issues/15647#issuecomment-380514949
6464
exports = module.exports = webpack;
6565
exports.version = version;
6666

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"webpack-sources": "^1.0.1"
2727
},
2828
"devDependencies": {
29-
"@types/node": "^9.6.0",
29+
"@types/node": "^9.6.4",
3030
"@types/tapable": "^1.0.1",
3131
"benchmark": "^2.1.1",
3232
"bundle-loader": "~0.5.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# yarn lockfile v1
33

44

5-
"@types/node@^9.6.0":
6-
version "9.6.0"
7-
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.0.tgz#d3480ee666df9784b1001a1872a2f6ccefb6c2d7"
5+
"@types/node@^9.6.4":
6+
version "9.6.4"
7+
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.4.tgz#0ef7b4cfc3499881c81e0ea1ce61a23f6f4f5b42"
88

99
"@types/tapable@^1.0.1":
1010
version "1.0.1"

0 commit comments

Comments
 (0)