Export the StrapiInterface type so that it can be extended by the user

This commit is contained in:
Convly 2022-04-12 14:34:39 +02:00
parent 36a65b4743
commit 60a26e08fc

View File

@ -3,7 +3,7 @@ import { EntityService } from './services/entity-service';
import { Strapi as StrapiClass } from './Strapi';
export * as factories from './factories';
interface StrapiInterface extends StrapiClass {
export interface StrapiInterface extends StrapiClass {
query: Database['query'];
entityService: EntityService;
}