UNPKG

@alore/auth-react-native-ui

Version:
15 lines (11 loc) 318 B
import { i18n } from './helpers/get-dictionary'; export interface PasswordRule { name: string; label: string; regex?: RegExp; key: string; } export type RecursivePartial<T> = { [P in keyof T]?: T[P] extends object ? RecursivePartial<T[P]> : T[P]; }; export type Locale = (typeof i18n)['locales'][number];