In particular, the populate is declared differently where one is declared with PopulateFieldsType and another string | string[]. I understand one is class and another is interface but why the difference in the declaration in populate field? where string | string[] is also declared as FieldsBaseType in populate.types
Hi,
As I was looking into #98, I noticed that there's
FindOptions
andIFindOptions
declared as suchIn particular, the
populate
is declared differently where one is declared withPopulateFieldsType
and anotherstring | string[]
. I understand one is class and another is interface but why the difference in the declaration inpopulate
field? wherestring | string[]
is also declared asFieldsBaseType
inpopulate.types
Thanks