Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit b50f557

Browse files
How to set Firestore serverTimestamp on document create / update #736
1 parent 0464bbd commit b50f557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ export namespace firestore {
830830
}
831831

832832
export class FieldValue {
833-
static serverTimestamp: () => FIRESTORE_SERVER_TS
833+
static serverTimestamp: () => "SERVER_TIMESTAMP"
834834
}
835835

836836
export interface QuerySnapshot {

0 commit comments

Comments
 (0)