summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2022-12-26 17:24:25 +0900
committerGitHub <noreply@github.com>2022-12-26 17:24:25 +0900
commit1a3665b612c001dc93d4ddd1ed78eebcbbc898a9 (patch)
treef51e90d0eae5083250744116b6a84bebcabf62b5
parent208c91b68f4ae1b59e65acbde3de729e7058bb5e (diff)
chore(npm): fix typo in local.rs (#17186)
-rw-r--r--cli/npm/resolvers/local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/resolvers/local.rs b/cli/npm/resolvers/local.rs
index 9cfe61b8e..5d8367e73 100644
--- a/cli/npm/resolvers/local.rs
+++ b/cli/npm/resolvers/local.rs
@@ -174,7 +174,7 @@ impl InnerNpmPackageResolver for LocalNpmPackageResolver {
}
}
- // if doing type resolution, check for the existance of a @types package
+ // if doing type resolution, check for the existence of a @types package
if mode.is_types() && !name.starts_with("@types/") {
let sub_dir =
join_package_name(current_folder, &types_package_name(name));