UNPKG

jscpd

Version:

Copy/paste detector for programming code, support JavaScript, CoffeeScript, PHP, Ruby, Python, Less, Go, Java, Yaml, C#, C++, C, Puppet, Twig languages

11 lines (10 loc) 351 B
import { IClone, IOptions, IReporter } from '..'; import { IStatistic } from '../interfaces/statistic.interface'; export declare class JsonReporter implements IReporter { private options; private json; constructor(options: IOptions); attach(): void; report(clones: IClone[], statistic: IStatistic): void; private cloneFound; }