UNPKG

@typescript/analyze-trace

Version:
41 lines (40 loc) 1.48 kB
export declare const commandLineOptions: { readonly forceMillis: { readonly alias: readonly ["forcemillis", "force-millis"]; readonly describe: "Events of at least this duration (in milliseconds) will reported unconditionally"; readonly type: "number"; readonly default: 500; }; readonly skipMillis: { readonly alias: readonly ["skipmillis", "skip-millis"]; readonly describe: "Events of less than this duration (in milliseconds) will suppressed unconditionally"; readonly type: "number"; readonly default: 100; }; readonly expandTypes: { readonly alias: readonly ["expandtypes", "expand-types"]; readonly describe: "Expand types when printing"; readonly type: "boolean"; readonly default: true; }; readonly color: { readonly describe: "Color the output to make it easier to read"; readonly type: "boolean"; readonly default: true; }; readonly json: { readonly describe: "Produce JSON output for programmatic consumption (EXPERIMENTAL)"; readonly type: "boolean"; readonly default: false; }; }; declare type Argv = { forceMillis: number; skipMillis: number; expandTypes: boolean; color: boolean; json: boolean; }; export declare function checkCommandLineOptions(argv: Argv): true; export declare function pushCommandLineOptions(array: string[], argv: Argv): void; export {};