UNPKG

@jay-js/system

Version:

A powerful and flexible TypeScript library for UI, state management, lazy loading, routing and managing draggable elements in modern web applications.

5 lines (4 loc) 230 B
import { AllPaths, GetTypeAtPath } from "../types/index.js"; export declare function useI18n<T>(): <Path extends AllPaths<T>>(path: Path, data?: Record<string, any>, options?: { default?: string; }) => GetTypeAtPath<T, Path>;