1.1.5 • Published 6 months ago

@types/tableify v1.1.5

Weekly downloads
77
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/tableify

Summary

This package contains type definitions for tableify (https://github.com/wankdanker/node-tableify).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tableify.

index.d.ts

// Type definitions for tableify 1.1
// Project: https://github.com/wankdanker/node-tableify
// Definitions by: Emily Marigold Klassen <https://github.com/forivall>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1

export = tableify;

declare function tableify<T extends Record<string, any>>(
    obj: T | ReadonlyArray<T>,
    columns?: ReadonlyArray<keyof T> | false,
    parents?: any[]
): string;
declare function tableify(obj: any): string;
declare namespace tableify {
    interface Config {
        classes?: boolean | undefined;
        classPrefix?: string | undefined;
    }
    function defaults(config: Config): {
        <T extends Record<string, any>>(
            obj: T | ReadonlyArray<T>,
            columns?: ReadonlyArray<keyof T> | false,
            parents?: any[]
        ): string;
        (obj: any): string;
    };
}

Additional Details

  • Last updated: Fri, 02 Jul 2021 21:32:06 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Emily Marigold Klassen.

1.1.5

6 months ago

1.1.4

6 months ago

1.1.3

7 months ago

1.1.2

8 months ago

1.1.1

3 years ago

1.1.0

5 years ago