Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 317 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 317 Bytes

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();