augment-vir - v31.47.0
    Preparing search index...

    Type Alias GrepMatches<CountOnly>

    GrepMatches: IsEqual<CountOnly, true> extends true
        ? { [FileName in string]: number }
        : IsEqual<CountOnly, false> extends true
            ? { [FileName in string]: string[] }
            : { [FileName in string]: number } | { [FileName in string]: string[] }

    Output of grep. Each key is an absolute file path. Values are array of matches lines for that file.

    Type Parameters

    • CountOnly extends boolean = false