diff --git a/javascript/extractor/lib/typescript/src/virtual_source_root.ts b/javascript/extractor/lib/typescript/src/virtual_source_root.ts
index 88f9228790c..5f1bbf2b95e 100644
--- a/javascript/extractor/lib/typescript/src/virtual_source_root.ts
+++ b/javascript/extractor/lib/typescript/src/virtual_source_root.ts
@@ -17,7 +17,7 @@ export class VirtualSourceRoot {
) {}
/**
- * Maps a path under the real source root to the corresonding path in the virtual source root.
+ * Maps a path under the real source root to the corresponding path in the virtual source root.
*/
public toVirtualPath(path: string) {
if (!this.virtualSourceRoot) return null;
@@ -27,7 +27,7 @@ export class VirtualSourceRoot {
}
/**
- * Maps a path under the real source root to the corresonding path in the virtual source root.
+ * Maps a path under the real source root to the corresponding path in the virtual source root.
*/
public toVirtualPathIfFileExists(path: string) {
let virtualPath = this.toVirtualPath(path);
diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
index 40a3a531d01..d3114360c7e 100644
--- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
+++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
@@ -397,7 +397,7 @@ public class AutoBuild {
for (FileType filetype : defaultExtract)
for (String extension : filetype.getExtensions()) patterns.add("**/*" + extension);
- // include .eslintrc files and package.json files
+ // include .eslintrc files, package.json files, and tsconfig.json files
patterns.add("**/.eslintrc*");
patterns.add("**/package.json");
patterns.add("**/tsconfig.json");
@@ -601,7 +601,7 @@ public class AutoBuild {
}
/**
- * Returns an existing file named dir/stem.ext where ext is any
+ * Returns an existing file named dir/stem.ext where .ext is any
* of the given extensions, or null if no such file exists.
*/
private static Path tryResolveWithExtensions(Path dir, String stem, Iterable extensions) {
@@ -708,7 +708,7 @@ public class AutoBuild {
// Remove dependency on local package
propsToRemove.add(packageName);
} else {
- // Remove file dependency on a package that don't exist in the checkout.
+ // Remove file dependency on a package that doesn't exist in the checkout.
String dependency = getChildAsString(dependencyObj, packageName);
if (dependency != null && (dependency.startsWith("file:") || dependency.startsWith("./") || dependency.startsWith("../"))) {
if (dependency.startsWith("file:")) {