#Why isn't previousDoc from afterChange typed as T | undefined ?
2 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
2 messages · Page 1 of 1 (latest)
In beforeChange, originalDoc is undefined when operation type is create, which makes sense
and so shouldn't the same logic apply to afterChange as well?
Or am i missing something?
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you: