chore(npm): fix typo in local.rs (#17186)

This commit is contained in:
Ikko Ashimine 2022-12-26 17:24:25 +09:00 committed by GitHub
parent 208c91b68f
commit 1a3665b612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));