Skip to content

Commit

Permalink
chore: Add comments to the code
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Jan 21, 2024
1 parent a4c7cb1 commit b028fb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shared-types/routes/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export interface UpdateTransactionBody {
export interface UnlinkTransferTransactionsBody {
transferIds: string[];
}
// Array of income/expense pairs to link between each other
// Array of income/expense pairs to link between each other. It's better to pass
// exactly exactly as described in the type, but in fact doesn't really matter
export interface LinkTransactionsBody {
ids: [number, number][];
ids: [baseTxId: number, destinationTxId: number][];
}

0 comments on commit b028fb0

Please sign in to comment.