diff --git a/lib/dep_graph.js b/lib/dep_graph.js index 4de1355..a64f801 100644 --- a/lib/dep_graph.js +++ b/lib/dep_graph.js @@ -326,7 +326,7 @@ DepGraph.prototype = { } }, /** - * get an array of nodes that have no dependants (i.e. nothing depends on them). + * Get an array of nodes that have no dependants (i.e. nothing depends on them). */ entryNodes: function () { var self = this; diff --git a/lib/index.d.ts b/lib/index.d.ts index ef158b2..6ed8de5 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -101,7 +101,7 @@ declare module 'dependency-graph' { dependantsOf(name: string, leavesOnly?: boolean): string[]; /** - * Alias of `dependentsOf` + * Alias of `dependantsOf` * * @see dependantsOf * @param name