Skip to content

Commit

Permalink
Update index.d.ts (#8293)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgv committed Jul 31, 2022
1 parent bb680cb commit 0dee73e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/package-manager/index.d.ts
@@ -1,3 +1,4 @@
import type {FilePath} from '@parcel/types';
import type {FileSystem} from '@parcel/fs';
import type {PackageInstaller, PackageManager} from './lib/types';

Expand All @@ -17,5 +18,5 @@ export const MockPackageInstaller: {
new (): PackageInstaller;
};
export const NodePackageManager: {
new (fs: FileSystem, installer?: PackageInstaller): PackageManager;
new (fs: FileSystem, projectRoot: FilePath, installer?: PackageInstaller): PackageManager;
};

0 comments on commit 0dee73e

Please sign in to comment.