mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
OldUMD and many other module fixes.
This commit is contained in:
7
diff/index.d.ts
vendored
7
diff/index.d.ts
vendored
@@ -3,6 +3,9 @@
|
||||
// Definitions by: vvakame <https://github.com/vvakame/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = JsDiff;
|
||||
export as namespace JsDiff;
|
||||
|
||||
declare namespace JsDiff {
|
||||
interface IDiffResult {
|
||||
value: string;
|
||||
@@ -54,7 +57,3 @@ declare namespace JsDiff {
|
||||
|
||||
function convertChangesToDMP(changes:IDiffResult[]):{0: number; 1:string;}[];
|
||||
}
|
||||
|
||||
declare module "diff" {
|
||||
export = JsDiff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user