Skip to content

Commit 724987a

Browse files
committed
set correct type in ContextDependency
1 parent c7429a6 commit 724987a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎lib/dependencies/ContextDependency.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ContextDependency extends Dependency {
1414
super();
1515
this.options = options;
1616
this.userRequest = this.options.request;
17+
/** @type {false | string} */
1718
this.critical = false;
1819
this.hadGlobalOrStickyRegExp = false;
1920
if (this.options.regExp.global || this.options.regExp.sticky) {

0 commit comments

Comments
 (0)