Skip to content

Commit

Permalink
Merge pull request #14208 from strapi/fix/service-typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Convly committed Jan 11, 2023
2 parents 576ef90 + 4291b03 commit f1312e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/strapi/lib/core-api/service/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export interface CollectionTypeService extends BaseService {
export type Service = SingleTypeService | CollectionTypeService;

export type GenericService = Partial<Service> & {
[method: string | number | symbol]: <T = any>(...args: any) => T;
[method: string | number | symbol]: (...args: any) => any;
};

0 comments on commit f1312e6

Please sign in to comment.