|
|
@@ -23,7 +23,7 @@ export class RequestContext {
|
|
|
private readonly _session?: Session;
|
|
|
private readonly _isAuthorized: boolean;
|
|
|
private readonly _authorizedAsOwnerOnly: boolean;
|
|
|
- private readonly _translationFn: i18next.TranslationFunction;
|
|
|
+ private readonly _translationFn: i18next.TFunction;
|
|
|
private readonly _apiType: ApiType;
|
|
|
|
|
|
/**
|
|
|
@@ -36,7 +36,7 @@ export class RequestContext {
|
|
|
languageCode?: LanguageCode;
|
|
|
isAuthorized: boolean;
|
|
|
authorizedAsOwnerOnly: boolean;
|
|
|
- translationFn?: i18next.TranslationFunction;
|
|
|
+ translationFn?: i18next.TFunction;
|
|
|
}) {
|
|
|
const { apiType, channel, session, languageCode, translationFn } = options;
|
|
|
this._apiType = apiType;
|