File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ export interface HtmlFormatter extends Formatter {
19
19
hideUnchanged ( node ?: Element | null , delay ?: number ) : void ;
20
20
}
21
21
22
+ export interface HTMLFormatter extends Formatter {
23
+ showUnchanged ( ) : void ;
24
+ hideUnchanged ( ) : void ;
25
+ }
26
+
22
27
export interface Delta {
23
28
[ key : string ] : any ;
24
29
[ key : number ] : any ;
@@ -68,14 +73,18 @@ export class DiffPatcher {
68
73
unpatch : ( right : any , delta : Delta ) => any ;
69
74
}
70
75
76
+ export const create : ( options ?: any ) => DiffPatcher
77
+
71
78
export const formatters : {
72
- annotated : Formatter ;
73
- console : Formatter ;
74
- html : HtmlFormatter ;
79
+ annotated : Formatter ;
80
+ console : Formatter ;
81
+ html : HTMLFormatter ;
75
82
} ;
76
83
77
84
export const console : Formatter
78
85
86
+ export const dateReviver : ( key : string , value : any ) => any ;
87
+
79
88
export const diff : ( left : any , right : any ) => Delta | undefined ;
80
89
export const patch : ( left : any , delta : Delta ) => any ;
81
90
export const reverse : ( delta : Delta ) => Delta | undefined ;
You can’t perform that action at this time.
0 commit comments