Skip to content

Commit 5a86147

Browse files
committed
Update firestore.d.ts
1 parent db6cf16 commit 5a86147

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

handwritten/firestore/types/firestore.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10621,9 +10621,9 @@ declare namespace FirebaseFirestore {
1062110621
* // Return "Active" if field "status" is 1, "Pending" if field "status" is 2,
1062210622
* // and default to "Unknown" if none of the conditions are true.
1062310623
* switchOn(
10624-
* equal(field("status"), 1), "Active",
10625-
* equal(field("status"), 2), "Pending",
10626-
* "Unknown"
10624+
* equal(field("status"), 1), constant("Active"),
10625+
* equal(field("status"), 2), constant("Pending"),
10626+
* constant("Unknown")
1062710627
* )
1062810628
* ```
1062910629
*

0 commit comments

Comments
 (0)