UNPKG

linguist-js

Version:

Analyse the programming languages used in a folder or from raw content, using the same rules that GitHub Linguist does.

5 lines (4 loc) 297 B
import * as T from '../../types/types.js'; export declare function aggregateResults(files: T.VirtualFile[], classifications: Record<string, string[]>, heuristicResolutions: Record<string, string | undefined>, langData: { [language: string]: T.LanguageMetadata; }, opts: T.Options): T.Results;