diff --git a/lib/core.ts b/lib/core.ts index 27c8ccd8..c80f3c8b 100644 --- a/lib/core.ts +++ b/lib/core.ts @@ -325,7 +325,7 @@ export const fetchPackageDependencies = async function ({ // Get latest version from package info export const getLatestVersion = function ( - pkgInfo: PkgInfo + pkgInfo: Partial ): PkgVersion | undefined { if (pkgInfo["dist-tags"]?.["latest"] !== undefined) return pkgInfo["dist-tags"]["latest"];