Created
January 13, 2022 17:55
-
-
Save Eosis/f029ae9795d89c7ebb9f784f95949c88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The type we get from on retrieving the document from firestore: | |
type FromFirestore = { | |
"meetingAgenda": string | |
"startTime": firestore.Timestamp // 😱 This is a different type between the client and the admin sdks. | |
} | |
// The type we want in in our Frontend and Backend: | |
type Meeting = { | |
meetingAgenda: string, | |
startTime: Luxon.DateTime | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment