mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 23:09:47 +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
|
||||
*/
|
||||
service(uid: string): GenericService | undefined;
|
||||
service<T extends GenericService = GenericService>(uid: string): T | undefined;
|
||||
|
||||
/**
|
||||
* Getter for the Strapi controllers container
|
||||
|
Loading…
x
Reference in New Issue
Block a user