We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8721a18 commit 059cbb3Copy full SHA for 059cbb3
1 file changed
src/typingsInstallerCore/typingsInstaller.ts
@@ -307,6 +307,7 @@ export abstract class TypingsInstaller {
307
this.log.writeLine(`Loaded content of '${packageJson}':${stringifyIndented(npmConfig)}`);
308
this.log.writeLine(`Loaded content of '${packageLockJson}':${stringifyIndented(npmLock)}`);
309
}
310
+ // Packages is present in lock file 3 vs lockfile 2 has dependencies field for already installed types package
311
if (npmConfig.devDependencies && (npmLock.packages || npmLock.dependencies)) {
312
for (const key in npmConfig.devDependencies) {
313
if (
0 commit comments