Skip to content

Commit c61b0fd

Browse files
authored
Merge pull request webpack#7567 from byzyk/types/use-strict-plugin
chore(types): UseStrictPlugin
2 parents 5c014a2 + 47b8886 commit c61b0fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/UseStrictPlugin.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66

77
const ConstDependency = require("./dependencies/ConstDependency");
88

9+
/** @typedef {import("./Compiler.js")} Compiler */
10+
911
class UseStrictPlugin {
12+
/**
13+
* @param {Compiler} compiler Webpack Compiler
14+
* @returns {void}
15+
*/
1016
apply(compiler) {
1117
compiler.hooks.compilation.tap(
1218
"UseStrictPlugin",

0 commit comments

Comments
 (0)