File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ abstract class Import extends AstNode {
203203 abstract DataFlow:: Node getImportedModuleNode ( ) ;
204204
205205 /**
206- * Holds of the result of `getImportedModuleNode` actually refers to the export binding named `"default"`,
206+ * Holds if the result of `getImportedModuleNode` actually refers to the export binding named `"default"`,
207207 * as opposed an object whose properties correspond to the export bindings of the imported module.
208208 *
209209 * For compatibility with non-standard interpretations of `default` imports, the default
@@ -220,7 +220,7 @@ abstract class Import extends AstNode {
220220 predicate isDefaultImport ( ) { none ( ) }
221221
222222 /**
223- * Gets the same as `getImportedModuleNode()` expect this has no result for default imports when the target module
223+ * Gets the same as `getImportedModuleNode()` except this has no result for default imports when the target module
224224 * has both default and named exports.
225225 *
226226 * This is to avoid ambiguity between named export bindings and the properties of the default-exported object.
You can’t perform that action at this time.
0 commit comments