Skip to content

Commit c7429a6

Browse files
Mohsen Azimisokra
authored andcommitted
Fixed all type errors!
1 parent 2295c83 commit c7429a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/NormalModule.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class NormalModule extends Module {
154154
this.errors.push(new ModuleError(this, error));
155155
},
156156
exec: (code, filename) => {
157+
// @ts-ignore Argument of type 'this' is not assignable to parameter of type 'Module'.
157158
const module = new NativeModule(filename, this);
158159
// @ts-ignore _nodeModulePaths is deprecated and undocumented Node.js API
159160
module.paths = NativeModule._nodeModulePaths(this.context);

0 commit comments

Comments
 (0)