Merge pull request #131 from sss0791/master
Fix for typescript definition file
This commit is contained in:
commit
1fba984dd3
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
2
typescript/diff2html.d.ts
vendored
2
typescript/diff2html.d.ts
vendored
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue