1.2.3 • Published 7 months ago

@types/console-log-tree v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for console-log-tree 1.2
// Project: https://github.com/QiShaoXuan/log-tree#readme
// Definitions by: Rajas Paranjpe <https://github.com/ChocolateLoverRaj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Tue, 29 Mar 2022 00:31:44 GMT
  • Dependencies: none
  • Global values: library

Credits

These definitions were written by Rajas Paranjpe.