From 1d95eba395ccdead9ef8b92506cf972fe5f8c5f8 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Tue, 13 Jan 2026 21:37:30 -0600 Subject: [PATCH] fix: resolve lint error in ownership-costs types (refs #29) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Milestone 6: Change empty interface to type alias to fix @typescript-eslint/no-empty-object-type error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../features/ownership-costs/domain/ownership-costs.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/features/ownership-costs/domain/ownership-costs.types.ts b/backend/src/features/ownership-costs/domain/ownership-costs.types.ts index 3108d8d..2264728 100644 --- a/backend/src/features/ownership-costs/domain/ownership-costs.types.ts +++ b/backend/src/features/ownership-costs/domain/ownership-costs.types.ts @@ -50,8 +50,8 @@ export const UpdateOwnershipCostSchema = z.object({ }); export type UpdateOwnershipCostRequest = z.infer; -// Response types -export interface OwnershipCostResponse extends OwnershipCost {} +// Response type (alias to OwnershipCost) +export type OwnershipCostResponse = OwnershipCost; // TCO aggregation stats // NOTE: Extended for backward compatibility with vehicles service