1 | // Note that @types/browserify is not used for a reason:
|
2 | // https://github.com/TypeStrong/tsify/issues/267
|
3 |
|
4 | import * as typescript from "typescript";
|
5 |
|
6 | interface Options {
|
7 | exclude?: string[];
|
8 | files?: string[];
|
9 | global?: boolean;
|
10 | include?: string[];
|
11 | m?: string;
|
12 | p?: string | Record<string, any>;
|
13 | project?: string | Record<string, any>;
|
14 | t?: string;
|
15 | typescript?: string | typeof typescript;
|
16 | }
|
17 |
|
18 | declare function tsify(b: any, opts: Options): any;
|
19 | export = tsify;
|