Merge pull request #131 from sss0791/master

Fix for typescript definition file
This commit is contained in:
Rodrigo Fernandes 2017-06-15 19:40:10 +01:00 committed by GitHub
commit 1fba984dd3
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;
} }
} }