-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
Empty show more show less
Offer compile time only types for TS users, Extended JSON value types
An example would be a EJSONTimestamp which would look like
interface { $timestamp: { t: number, i: number }}
Typescript can do clever deduction on union types based on key existence, worth exploring as an optional addition here