From 001de104fa88f3fc469760216cd310c28ccbd352 Mon Sep 17 00:00:00 2001 From: Chris Kalmar Date: Sat, 30 Jan 2021 11:38:31 +0100 Subject: [PATCH] allow additional custom prop in Context --- src/engine/context/Context.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/context/Context.ts b/src/engine/context/Context.ts index 0bd4f80d..9b9acb52 100644 --- a/src/engine/context/Context.ts +++ b/src/engine/context/Context.ts @@ -1,6 +1,7 @@ export interface Context { userId?: string | number; userRoles?: string[]; - loaders: Record; + loaders?: Record; i18nLanguage?: string; + custom?: Record; }