mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 07:22:51 +00:00
Merge branch 'fix/service-typings' of https://github.com/strapi/strapi into fix/service-typings
This commit is contained in:
commit
9a7968ac32
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user