Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/treeify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/treeify
Summary
This package contains type definitions for treeify (https://github.com/notatestuser/treeify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/treeify.
index.d.ts
// Type definitions for treeify 1.0
// Project: https://github.com/notatestuser/treeify
// Definitions by: Mike North <https://github.com/mike-north>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
export interface TreeObject {
[k: string]: TreeValue;
}
export type TreeValue = string | TreeObject;
export function asTree(
treeObj: TreeObject,
showValues: boolean,
hideFunctions: boolean,
): string;
export function asLines(
treeObj: TreeObject,
showValues: boolean,
lineCallback: (line: string) => void,
): string;
export function asLines(
treeObj: TreeObject,
showValues: boolean,
hideFunctions: boolean,
lineCallback: (line: string) => void,
): string;
Additional Details
- Last updated: Tue, 12 Sep 2023 12:34:50 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Mike North.