mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
fix from and to params
This commit is contained in:
Vendored
+4
-4
@@ -76,7 +76,7 @@ declare module "jug" {
|
||||
/**
|
||||
* Verify if the current node is the root.
|
||||
*/
|
||||
isRoot(): boolean
|
||||
isRoot(): boolean;
|
||||
|
||||
/**
|
||||
* Set node data.
|
||||
@@ -91,10 +91,10 @@ declare module "jug" {
|
||||
|
||||
/**
|
||||
* Get distance between nodes.
|
||||
* @param from {string}
|
||||
* @param to {string}
|
||||
* @param from
|
||||
* @param to
|
||||
*/
|
||||
proximity(from, to): Array<number>;
|
||||
proximity(from:string, to:string): Array<number>;
|
||||
|
||||
/**
|
||||
* Find a node.
|
||||
|
||||
Reference in New Issue
Block a user