From 60a26e08fcbcd5b302cf4edf35831cb22699e372 Mon Sep 17 00:00:00 2001 From: Convly Date: Tue, 12 Apr 2022 14:34:39 +0200 Subject: [PATCH] Export the StrapiInterface type so that it can be extended by the user --- packages/core/strapi/lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/strapi/lib/index.d.ts b/packages/core/strapi/lib/index.d.ts index 42b33e487d..6a2c8ce2ad 100644 --- a/packages/core/strapi/lib/index.d.ts +++ b/packages/core/strapi/lib/index.d.ts @@ -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; }