diff --git a/src/runtime/defineMessages.ts b/src/runtime/defineMessages.ts index 62ea7b2..f2ef78b 100644 --- a/src/runtime/defineMessages.ts +++ b/src/runtime/defineMessages.ts @@ -1,9 +1,13 @@ -import type { MessageDescriptor } from "../types/index.js"; +import type { MessageDescriptor } from '../types/index.js' -export function defineMessage(descriptor: Descriptor) { +export function defineMessage( + descriptor: Descriptor, +) { return descriptor } -export function defineMessages>(descriptors: Descriptors) { +export function defineMessages< + const Descriptors extends Record, +>(descriptors: Descriptors) { return descriptors }