Skip to content

Commit

Permalink
Fixed type of return value for getJsonFromDiff
Browse files Browse the repository at this point in the history
  • Loading branch information
sss0791 committed Jun 14, 2017
1 parent e0f4a33 commit 23419f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion typescript/diff2html.d.ts
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 23419f7

Please sign in to comment.