From bd6b0e827875f2ef72cc3e5b3b9fdc6c6ae6487d Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Sat, 29 Aug 2026 09:06:43 -0300 Subject: [PATCH] feat(i18n): re-export MessageDescriptor Apps that type a message-carrying prop or config field had no way to name that type through frontend-base, and were importing it from react-intl directly, a package they do not declare. Closes: openedx/frontend-base#300 Co-Authored-By: Claude --- runtime/i18n/index.ts | 1 + runtime/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/i18n/index.ts b/runtime/i18n/index.ts index 8e6d4b7e..4c32dca2 100644 --- a/runtime/i18n/index.ts +++ b/runtime/i18n/index.ts @@ -34,6 +34,7 @@ export { type IntlConfig, type ResolvedIntlConfig, type IntlShape, + type MessageDescriptor, } from 'react-intl'; export { diff --git a/runtime/index.ts b/runtime/index.ts index d7b7db6f..6ad3accf 100644 --- a/runtime/index.ts +++ b/runtime/index.ts @@ -78,6 +78,7 @@ export { type IntlConfig, type ResolvedIntlConfig, type IntlShape, + type MessageDescriptor, } from './i18n'; export {