UNPKG

apply-ref

Version:
5 lines (4 loc) 204 B
import { Ref } from "react"; declare const apply: <T>(ref: Ref<T>, value: T | null) => void; export declare const applyRefs: <T>(...refs: Ref<T>[]) => (value: T | null) => void; export default apply;