File: convert.d.ts

package info (click to toggle)
typescript-types 20190209-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,548 kB
  • sloc: sh: 42; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
interface ConvertOptions {
    cap?: boolean;
    curry?: boolean;
    fixed?: boolean;
    immutable?: boolean;
    rearg?: boolean;
}

interface Convert {
    (func: object, options?: ConvertOptions): any;
    (name: string, func: (...args: any[]) => any, options?: ConvertOptions): any;
}

declare const convert: Convert;
export = convert;