Merge branch 'fix/service-typings' of https://github.com/strapi/strapi into fix/service-typings

This commit is contained in:
Bassel Kanso 2022-08-17 12:16:15 +03:00
commit 9a7968ac32

View File

@ -39,7 +39,7 @@ export interface Strapi {
/** /**
* Find a service using its unique identifier * Find a service using its unique identifier
*/ */
service(uid: string): GenericService | undefined; service<T extends GenericService = GenericService>(uid: string): T | undefined;
/** /**
* Getter for the Strapi controllers container * Getter for the Strapi controllers container