mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
d3-selection
* Complete JSDoc comment for `Local.remove(...)`. Thanks @gustavderdrache
This commit is contained in:
parent
f3cc8644d9
commit
f156343557
2
d3-selection/index.d.ts
vendored
2
d3-selection/index.d.ts
vendored
@ -288,7 +288,9 @@ export interface Local<T> {
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user