From c92b4f300ec34b8fb19f580d66a8a673df7c61d9 Mon Sep 17 00:00:00 2001 From: Jim Riecken Date: Fri, 5 Mar 2021 11:18:45 -0800 Subject: [PATCH] Fix a few typos in JSDoc --- lib/dep_graph.js | 2 +- lib/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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