I'm having trouble with TypeScript interface.
I've always made some easy interfaces like below.
{ a: 1 }
interface A {
a: number
}
but this time I am very lost.
Here is the result that my function returns and I want to make an interface for it.
[
[ 0 ],
{
acknowledged: true,
modifiedCount: 1,
upsertedId: null,
upsertedCount: 0,
matchedCount: 1
}
]
It is an array which has an another array and an object inside.
I will be glad for you help.
Thank you !