Skip to content

Commit b0959a0

Browse files
committed
FPM-31: fix PkgData type to DepInfo in pkg-installer.ts
1 parent 07e90ed commit b0959a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fyn/lib/pkg-installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ class PkgInstaller {
620620

621621
const pkgName = Path.posix.join(scope, dirName);
622622
const pkgData = pkgsData[pkgName];
623-
const topPkg = pkgData && _.find(pkgData.versions, (x: PkgData) => x.promoted);
623+
const topPkg = pkgData && _.find(pkgData.versions, (x: DepInfo) => x.promoted);
624624

625625
if (!topPkg) {
626626
this._removedCount++;

0 commit comments

Comments
 (0)