Skip to content

Commit

Permalink
allow additional custom prop in Context
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Jan 30, 2021
1 parent a6a304c commit 001de10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engine/context/Context.ts
@@ -1,6 +1,7 @@
export interface Context {
userId?: string | number;
userRoles?: string[];
loaders: Record<string, unknown>;
loaders?: Record<string, unknown>;
i18nLanguage?: string;
custom?: Record<string, unknown>;
}

0 comments on commit 001de10

Please sign in to comment.