Installation
npm install --save @types/console-log-tree
Summary
This package contains type definitions for console-log-tree (https://github.com/QiShaoXuan/log-tree#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/console-log-tree.
index.d.ts
export as namespace library;
export interface Tree {
name: string;
children?: readonly Tree[];
}
export function parse(tree: Tree | readonly Tree[], parentPre?: string, treeStr?: string): string;
export function log(tree: Tree | readonly Tree[]): void;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Rajas Paranjpe.