SomeDoc: Record<string, any>

Represents some document. It's not a base type, but rather more of a bottom type which can represent any legal document, to give more dynamic typing flexibility at the cost of enhanced typechecking/autocomplete.

Collections will default to this if no specific type is provided.