Various little adjustments relative to the new i18n API
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
export { i18nInitializer } from "./i18nInitializer";
|
||||
export type { KcContextLike } from "./useI18n";
|
||||
export type { MessageKey as MessageKey_defaultSet } from "../messages_defaultSet/types";
|
||||
|
@ -12,6 +12,8 @@ export type ReturnTypeOfCreateUseI18n<MessageKey_themeDefined extends string, La
|
||||
ofTypeI18n: GenericI18n<MessageKey_defaultSet | MessageKey_themeDefined, LanguageTag_defaultSet | LanguageTag_notInDefaultSet>;
|
||||
};
|
||||
|
||||
export { KcContextLike };
|
||||
|
||||
export function createUseI18n<
|
||||
ThemeName extends string = string,
|
||||
MessageKey_themeDefined extends string = never,
|
||||
|
Reference in New Issue
Block a user