Skip to content

2.6.20

Choose a tag to compare

@tylim88 tylim88 released this 08 Oct 07:37
· 74 commits to main since this release

add toTimestamp to convert JSONTimeStamp to Firestore Timestamp:

import { toTimestamp } from 'firelordjs'

const firestoreTimestamp = toTimestamp(someJSONTimestamp)

https://firelordjs.com/highlights/transformative_types#json-types