You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/types/localizer.d.ts

6 lines
275 B
TypeScript

import type { MergedLocalizerTokens, GetMessageArgs } from '../localization/localeTools';
import type { I18nMethods } from './I18nMethods';
export type SetupI18nReturnType = I18nMethods &
(<T extends MergedLocalizerTokens>(...[token, args]: GetMessageArgs<T>) => string);