From 471b1fae2d784d9d98d9f7d6d3631279066bc5e1 Mon Sep 17 00:00:00 2001 From: icarus Date: Mon, 20 Oct 2025 00:59:44 +0800 Subject: [PATCH] docs(IBaseService): add type parameter documentation to interface --- src/main/data/api/services/IBaseService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/data/api/services/IBaseService.ts b/src/main/data/api/services/IBaseService.ts index 446de55716..01dad07a82 100644 --- a/src/main/data/api/services/IBaseService.ts +++ b/src/main/data/api/services/IBaseService.ts @@ -3,6 +3,9 @@ import type { PaginationParams, ServiceOptions } from '@shared/data/api/apiTypes /** * Standard service interface for data operations * Defines the contract that all services should implement + * @template T - Type of the entity returned by service methods + * @template TCreate - Type of the data required to create a new entity + * @template TUpdate - Type of the data required to update an existing entity */ export interface IBaseService { /**