nope-js-node
Version:
NoPE Runtime for Nodejs. For Browser-Support please use nope-browser
18 lines (17 loc) • 660 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertInstanceRenderPage = void 0;
const jsonMethods_1 = require("../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.
*/
function convertInstanceRenderPage(callback) {
return (0, jsonMethods_1.stringifyWithFunctions)(callback);
}
exports.convertInstanceRenderPage = convertInstanceRenderPage;