UNPKG

nope-js-browser

Version:

NoPE Runtime for the Browser. For nodejs please use nope-js-node

14 lines (13 loc) 468 B
import { stringifyWithFunctions } from "../helpers/jsonMethods"; /** * Converts the convertInstanceRenderPage to a string, which could be * store or something similar. * * @export * @template I The Instance Type * @param {(TRenderInstancePage<I & IGenericNopeModule>)} callback The callback to stringify. * @return {string} The parsed String. */ export function convertInstanceRenderPage(callback) { return stringifyWithFunctions(callback); }