mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Merge pull request #25736 from iamakulov/patch-1
[read-package-tree] Add the missing `name` field
This commit is contained in:
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for read-package-tree 5.1
|
||||
// Type definitions for read-package-tree 5.2
|
||||
// Project: https://github.com/npm/read-package-tree
|
||||
// Definitions by: Melvin Groenhoff <https://github.com/mgroenhoff>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -9,6 +9,7 @@ declare function rpt(root: string, filterWith: (node: rpt.Node, kidName: string)
|
||||
declare namespace rpt {
|
||||
class Node {
|
||||
id: number;
|
||||
name: string;
|
||||
package: any;
|
||||
children: Node[];
|
||||
parent: Node | null;
|
||||
|
||||
Reference in New Issue
Block a user