I am trying to type this mock function and it\'s throwing in the following error:
Value of type \'() => { doc: { name: string; header: string; bod