Skip to content

Commit 6e077ce

Browse files
committed
[@npmcli/arborist] Fix edgesOut and edgesIn types
1 parent b277b18 commit 6e077ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

types/npmcli__arborist/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ declare namespace Arborist {
202202
* Edges in the dependency graph indicating nodes that this node depends
203203
* on, which resolve its dependencies.
204204
*/
205-
edgesOut: Edge[];
205+
edgesOut: Map<string, Edge>;
206206
/** Edges in the dependency graph indicating nodes that depend on this node. */
207-
edgesIn: Edge[];
207+
edgesIn: Set<Edge>;
208208

209209
/** True if this package is not required by any other for any reason. False for top of tree. */
210210
extraneous: boolean;

0 commit comments

Comments
 (0)