Skip to content

ya-s-u/recursive-timestamp-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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