1.0.1 • Published 1 year ago
recursive-timestamp-converter v1.0.1
recursive-timestamp-converter
Installation
$ yarn add recursive-timestamp-converter
Usage
import { TimestampConverter } from 'recursive-timestamp-converter';
const snapshot = await firestore
.collection("posts")
.doc(id)
.withConverter(new TimestampConverter<Post>())
.get();