Skip to content

Commit

Permalink
minor(dgraph): minor internal updates
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 26, 2023
1 parent 44a18a1 commit aa22030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dgraph/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ export class DGraph<T> implements Iterable<T>, ICopy<DGraph<T>> {
}

leaves() {
return filter((node: T) => this.isLeaf(node), this.nodes());
return filter((node) => this.isLeaf(node), this.nodes());
}

roots() {
return filter((node: T) => this.isRoot(node), this.nodes());
return filter((node) => this.isRoot(node), this.nodes());
}

transitiveDependencies(x: T) {
Expand Down

0 comments on commit aa22030

Please sign in to comment.