feat!: Type-safe ICU arguments #2210
Annotations
3 errors
Run pnpm install
Type '{ <TargetKey extends MessageKeys<NestedValueOf<{ '!': TranslatorMessages; }, [Namespace] extends [never] ? "!" : `!.${Namespace}`>, NestedKeyOf<NestedValueOf<{ '!': TranslatorMessages; }, [...] extends [...] ? "!" : `!.${Namespace}`>>>>(key: TargetKey, values?: TranslationValues | undefined, formats?: Formats | unde...' is not assignable to type '{ <TargetKey extends MessageKeys<NestedValueOf<{ "!": TranslatorMessages; }, [Namespace] extends [never] ? "!" : `!.${Namespace}`>, NestedKeyOf<NestedValueOf<{ "!": TranslatorMessages; }, [Namespace] extends [never] ? "!" : `!.${Namespace}`>>>>(key: TargetKey, ...args: MessageParams<...> extends Record<...> ? [value...'.
|
Run pnpm install
Type '{ <TargetKey extends unknown>(key: TargetKey, values?: TranslationValues | undefined, formats?: Formats | undefined): string; rich: (key: string, values?: RichTranslationValues | undefined, formats?: Formats | undefined) => ReactNode; markup(key: string, values: MarkupTranslationValues, formats?: Formats | undefined...' is not assignable to type '{ <TargetKey extends MessageKeys<NestedValueOf<{ '!': Record<string, any>; }, [NestedKey] extends [never] ? "!" : `!.${NestedKey}`>, NestedKeyOf<NestedValueOf<{ '!': Record<string, any>; }, [...] extends [...] ? "!" : `!.${NestedKey}`>>>>(key: TargetKey, ...args: MessageParams<...> extends Record<...> ? [values?: .....'.
|
Run pnpm install
Process completed with exit code 1.
|
Loading