Genericize Datum type #2467
jamesarosen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
DatumValueis defined asstring | number | Date. Packages like Line define aDatumtype asWhen a custom layer function receives the
ComputedDatumentries, it can't know the exact type ofcomputedDatum.data.x. It would be nice ifDatumwere generic, likeThat way, I could build a
Line<Date, number>that ensures all my internal types line up.Beta Was this translation helpful? Give feedback.
All reactions