diff --git a/packages/core/strapi/lib/types/core/strapi/index.d.ts b/packages/core/strapi/lib/types/core/strapi/index.d.ts index 30ac1a8f57..3288a9ed7f 100644 --- a/packages/core/strapi/lib/types/core/strapi/index.d.ts +++ b/packages/core/strapi/lib/types/core/strapi/index.d.ts @@ -39,7 +39,7 @@ export interface Strapi { /** * Find a service using its unique identifier */ - service(uid: string): GenericService | undefined; + service(uid: string): T | undefined; /** * Getter for the Strapi controllers container