mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Update packages/core/strapi/lib/types/core/strapi/index.d.ts
Co-authored-by: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
parent
b8e0ad7521
commit
770f6f7026
@ -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