19 lines
464 B
TypeScript
19 lines
464 B
TypeScript
// Note that @types/browserify is not used for a reason:
|
|
// https://github.com/TypeStrong/tsify/issues/267
|
|
|
|
import * as typescript from "typescript";
|
|
|
|
export interface Options {
|
|
exclude?: string[];
|
|
files?: string[];
|
|
global?: boolean;
|
|
include?: string[];
|
|
m?: string;
|
|
p?: string | Record<string, any>;
|
|
project?: string | Record<string, any>;
|
|
t?: string;
|
|
typescript?: string | typeof typescript;
|
|
}
|
|
|
|
export default function tsify(b: any, opts: Options): any;
|