UNPKG

@thi.ng/hiccup

Version:

HTML/SVG/XML serialization of nested data structures, iterables & closures

14 lines 503 B
import type { Maybe } from "@thi.ng/api"; /** * Takes an arbitrary `ctx` object and array of `keys`. Attempts to call * `.deref()` on all given keys' values and stores result values instead * of original. Returns updated copy of `ctx` or original if `ctx` is * `null` or no keys were given. * * @param ctx - user context object * @param keys - keys to deref * * @internal */ export declare const derefContext: (ctx: any, keys?: Maybe<PropertyKey[]>) => any; //# sourceMappingURL=deref.d.ts.map