UNPKG

frontend-hamroun

Version:

A lightweight frontend JavaScript framework with React-like syntax

5 lines 257 B
import type { Context } from './types.js'; export declare function createContext<T>(defaultValue: T): Context<T>; export declare function useContext<T>(context: Context<T>): T; export type { Context } from './types.js'; //# sourceMappingURL=context.d.ts.map