setup-typescript-monorepo
Version:
Convert Workspaces to TypeScript's Project References
100 lines (99 loc) • 1.84 kB
TypeScript
import meow from "meow";
export declare const cli: meow.Result<{
root: {
type: "string";
default: string;
};
check: {
type: "boolean";
default: false;
};
package: {
type: "string";
isMultiple: true;
};
removeComments: {
type: "boolean";
default: false;
};
indentation: {
type: "number";
default: number;
};
plugin: {
type: "string";
isMultiple: true;
};
onlyOnPath: {
type: "string";
};
addInclude: {
type: "string";
isMultiple: true;
};
addRootDir: {
type: "string";
};
addEsmTsconfig: {
type: "string";
};
addExtends: {
type: "string";
};
tsconfigPath: {
type: "string";
default: string;
};
}>;
export declare const run: (_input?: string[], flags?: meow.TypedFlags<{
root: {
type: "string";
default: string;
};
check: {
type: "boolean";
default: false;
};
package: {
type: "string";
isMultiple: true;
};
removeComments: {
type: "boolean";
default: false;
};
indentation: {
type: "number";
default: number;
};
plugin: {
type: "string";
isMultiple: true;
};
onlyOnPath: {
type: "string";
};
addInclude: {
type: "string";
isMultiple: true;
};
addRootDir: {
type: "string";
};
addEsmTsconfig: {
type: "string";
};
addExtends: {
type: "string";
};
tsconfigPath: {
type: "string";
default: string;
};
}> & {
[name: string]: unknown;
}) => Promise<{
exitStatus: number;
stdout: string | null;
stderr: string | null;
}>;