Hi, can someone help me find the correct type annotations for some variables?
Here is the pastebin with the relevant code:
https://pastebin.com/FJmrB4BS
On line 70, I have tried doing the type typeof Blog, but that gave me this error on line 77:
Property 'save' does not exist on type 'Model<any, {}, {}, {}, any, any>'.
Same thing with both result arguments.
I have also tried console logging typeof newBlog and typeof result, and all of them gave object.
Thanks!
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.