UNPKG

466 BTypeScriptView Raw
1// Note that @types/browserify is not used for a reason:
2// https://github.com/TypeStrong/tsify/issues/267
3
4import * as typescript from "typescript";
5
6interface 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
18declare function tsify(b: any, opts: Options): any;
19export = tsify;