![NODE-3681] Typescript complains that $currentDate is used with type boolean instead of type 'Date | Timestamp' - MongoDB Jira NODE-3681] Typescript complains that $currentDate is used with type boolean instead of type 'Date | Timestamp' - MongoDB Jira](https://jira.mongodb.org/secure/attachment/340942/image-2021-10-19-01-31-16-866.png)
NODE-3681] Typescript complains that $currentDate is used with type boolean instead of type 'Date | Timestamp' - MongoDB Jira
![Ben Ilegbodu 🏀👨🏾💻 on Twitter: "I recently created a TypeScript generic utility type that recursively converted `Date` types into Firestore ` Timestamp` types The type was fun to come up w/ cuz I Ben Ilegbodu 🏀👨🏾💻 on Twitter: "I recently created a TypeScript generic utility type that recursively converted `Date` types into Firestore ` Timestamp` types The type was fun to come up w/ cuz I](https://pbs.twimg.com/media/FHMF9LQVUAEoJqi.png)
Ben Ilegbodu 🏀👨🏾💻 on Twitter: "I recently created a TypeScript generic utility type that recursively converted `Date` types into Firestore ` Timestamp` types The type was fun to come up w/ cuz I
![NODE-3681] Typescript complains that $currentDate is used with type boolean instead of type 'Date | Timestamp' - MongoDB Jira NODE-3681] Typescript complains that $currentDate is used with type boolean instead of type 'Date | Timestamp' - MongoDB Jira](https://jira.mongodb.org/secure/attachment/340943/image-2021-10-19-01-30-32-434.png)