diff --git a/packages/core/strapi/lib/global.d.ts b/packages/core/strapi/lib/global.d.ts index 8750c10772..73c36f94d5 100644 --- a/packages/core/strapi/lib/global.d.ts +++ b/packages/core/strapi/lib/global.d.ts @@ -51,4 +51,11 @@ declare global { * Strapi global variable definition **/ export const strapi: StrapiInterface; -} \ No newline at end of file + + /** + * Adds the strapi global variable to the NodeJS Global interface + */ + export interface Global { + strapi: StrapiInterface; + } +}