export const deref = (schemaRef) => { if (typeof schemaRef === "function") { return schemaRef(); } return schemaRef; };