Skip to content

Instantly share code, notes, and snippets.

View MattBevis's full-sized avatar
🏠
Working from home

Matthew Bevis MattBevis

🏠
Working from home
View GitHub Profile
@JamieCurnow
JamieCurnow / firestore.ts
Last active April 26, 2024 21:20
Using Firestore with Typescript
/**
* This Gist is part of a medium article - read here:
* https://jamiecurnow.medium.com/using-firestore-with-typescript-65bd2a602945
*/
// import firstore (obviously)
import { firestore } from "firebase-admin"
// Import or define your types
// import { YourType } from '~/@types'