Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make ArrayChange take a type parameter like in the old DefinitelyType…
…d definitions
  • Loading branch information
ExplodingCabbage committed Jul 29, 2025
commit c95f49b3b76ffd752ff8f6d352241d0dbf2ae880
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ChangeObject<ValueT> {
// explicitly reference by name in their own code, so keeping its name consistent is valuable even
// though the names of many other types are inconsistent with the old DefinitelyTyped names.
export type Change = ChangeObject<string>;
export type ArrayChange = ChangeObject<any[]>;
export type ArrayChange<T> = ChangeObject<T[]>;

export interface CommonDiffOptions {
/**
Expand Down