interface
interface copied to clipboard
fix: replace @ts-expect-error with proper type assertion in finalizeTransaction
Replace unsafe @ts-expect-error with proper type assertion to FinalizedTransactionStatus. This eliminates technical debt, improves type safety, and removes the TODO comment while maintaining runtime correctness since only final transaction statuses are passed to this method.