From f156343557e8df4e50707eae786fa7049e53dfcd Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Wed, 24 Aug 2016 09:45:33 -0400 Subject: [PATCH] d3-selection * Complete JSDoc comment for `Local.remove(...)`. Thanks @gustavderdrache --- d3-selection/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d3-selection/index.d.ts b/d3-selection/index.d.ts index 42c9b2f112..95a9e2ad56 100644 --- a/d3-selection/index.d.ts +++ b/d3-selection/index.d.ts @@ -288,7 +288,9 @@ export interface Local { */ get(node: Element): T | undefined; /** + * Deletes the value associated with the given node. Values stored on ancestors are not affected, meaning that child nodes will still see inherited values. * + * This function returns true if there was a value stored directly on the node, and false otherwise. */ remove(node: Element): boolean; /**