@typescript/analyze-trace
Version:
Analyze the output of tsc --generatetrace
9 lines (8 loc) • 358 B
TypeScript
/// <reference types="node" />
import stream = require("stream");
/**
* @param stream A stream of string chunks with respect to which `positions` should be normalized.
* @returns A frequency table of imported module names.
*/
declare function countImportExpressions(stream: stream.Readable): Promise<Map<string, number>>;
export = countImportExpressions;