A Firestore/TS design pattern that works.
This repo is a minimal example of how to use the new Firebase v9 SDK with Typesctipt using a coding design pattern that I think makes a lot of sense.
Check out this medium article for a full read: https://jamiecurnow.medium.com/using-firestore-with-typescript-in-the-v9-sdk-cf36851bb099