@@ -332,6 +332,31 @@ declare module 'node:worker_threads' {
332
332
}
333
333
}
334
334
335
+ declare module 'jest-diff' {
336
+ declare type CompareKeys = ( ( a : string , b : string ) => number ) | void ;
337
+ declare type DiffOptions = {
338
+ aAnnotation ?: string ,
339
+ aColor ?: ( arg : string ) => string ,
340
+ aIndicator ?: string ,
341
+ bAnnotation ?: string ,
342
+ bColor ?: ( arg : string ) => string ,
343
+ bIndicator ?: string ,
344
+ changeColor ?: ( arg : string ) => string ,
345
+ changeLineTrailingSpaceColor ?: ( arg : string ) => string ,
346
+ commonColor ?: ( arg : string ) => string ,
347
+ commonIndicator ?: string ,
348
+ commonLineTrailingSpaceColor ?: ( arg : string ) => string ,
349
+ contextLines ?: number ,
350
+ emptyFirstOrLastLinePlaceholder ?: string ,
351
+ expand ?: boolean ,
352
+ includeChangeCounts ?: boolean ,
353
+ omitAnnotationLines ?: boolean ,
354
+ patchColor ?: ( arg : string ) => string ,
355
+ compareKeys ?: CompareKeys ,
356
+ } ;
357
+ declare function diff ( a : any , b : any , options ? : DiffOptions ) : string ;
358
+ }
359
+
335
360
declare const Bun: {
336
361
hash (
337
362
input : string | $TypedArray | DataView | ArrayBuffer | SharedArrayBuffer ,
0 commit comments