@types/console-log-tree
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/console-log-tree

Weekly Downloads

210

Version

1.2.3

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types