Fixed type of return value for getJsonFromDiff

This commit is contained in:
Sergey Semenov 2017-06-14 14:02:04 +03:00
parent e0f4a33c82
commit 23419f7568
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ let dif2html = require("diff2html").Diff2Html
> Pretty HTML diff > Pretty HTML diff
getJsonFromDiff(input: string, configuration?: Options): Result getJsonFromDiff(input: string, configuration?: Options): Result[]
> Intermediate Json From Git Word Diff Output > Intermediate Json From Git Word Diff Output

View file

@ -55,7 +55,7 @@ declare namespace Diff2Html {
} }
export interface Diff2Html { export interface Diff2Html {
getJsonFromDiff(input: string, configuration?: Options): Result; getJsonFromDiff(input: string, configuration?: Options): Result[];
getPrettyHtml(input: any, configuration?: Options): string; getPrettyHtml(input: any, configuration?: Options): string;
} }
} }