I am currently wrapping my firebase calls in a function so that I can define the return type in the function, thus defining the type of a document however you have to turn t