UNPKG

@typescript/analyze-trace

Version:
9 lines (8 loc) 358 B
/// <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;