diff --git a/README.md b/README.md index 15a0e85..30517fe 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ let dif2html = require("diff2html").Diff2Html > Pretty HTML diff - getJsonFromDiff(input: string, configuration?: Options): Result + getJsonFromDiff(input: string, configuration?: Options): Result[] > Intermediate Json From Git Word Diff Output diff --git a/typescript/diff2html.d.ts b/typescript/diff2html.d.ts index e6c5066..3404348 100644 --- a/typescript/diff2html.d.ts +++ b/typescript/diff2html.d.ts @@ -55,7 +55,7 @@ declare namespace Diff2Html { } export interface Diff2Html { - getJsonFromDiff(input: string, configuration?: Options): Result; + getJsonFromDiff(input: string, configuration?: Options): Result[]; getPrettyHtml(input: any, configuration?: Options): string; } }