$ cnpm install @types/archy
npm install --save @types/archy
This package contains type definitions for archy (https://github.com/substack/node-archy).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/archy.
// Type definitions for archy
// Project: https://github.com/substack/node-archy
// Definitions by: vvakame <https://github.com/vvakame>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function archy(obj: archy.Data, prefix?: string, opts?: archy.Options): string;
declare function archy(obj: string, prefix?: string, opts?: archy.Options): string;
declare namespace archy {
interface Data {
label: string;
nodes?: (Data | string)[] | undefined;
}
interface Options {
unicode?: boolean | undefined;
}
}
export = archy;
These definitions were written by vvakame.
Copyright 2013 - present © cnpmjs.org | Home |