You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
exporttypeSpreadsheetCell=[string,number];
We can currently create these types using the DSL:
decl("SpreadsheetCell")(tuple(Str, Intr))
However, we can't yet map Scala tuples onto them using decl[T]. If we can add tuple support to Elm's model, we can write some scala.TupleX encoders using shapeless of sbt-boilerplate.
The text was updated successfully, but these errors were encountered:
On 31 Jul 2019, at 14:03, Dave Gurnell ***@***.***> wrote:
Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
export
type
SpreadsheetCell
=
[
string
,
number
];
We should extend this support to Elm and Scala!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](#24?email_source=notifications&email_token=AAAEJPSHJ5SULXC2E6XAWV3QCGERHA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCR6DVA), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AAAEJPQE6GQZSVRXVGPMXY3QCGERHANCNFSM4IIGOJTQ).
On 2 August 2019 at 20:43:13, Pere Villega ***@***.******@***.***)) wrote:
I will look at it, but I can't promise when, next couple of months are a bit… :(
> On 31 Jul 2019, at 14:03, Dave Gurnell ***@***.***> wrote:
>
> Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
>
> export
>
> type
>
> SpreadsheetCell
>
> =
>
> [
>
> string
>
> ,
>
> number
>
> ];
>
> We should extend this support to Elm and Scala!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, [view it on GitHub](#24?email_source=notifications&email_token=AAAEJPSHJ5SULXC2E6XAWV3QCGERHA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCR6DVA), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AAAEJPQE6GQZSVRXVGPMXY3QCGERHANCNFSM4IIGOJTQ).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub(#24?email_source=notifications&email_token=AABYRZ76MZ76PLAVOU4IRKTQCSE5DA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3OVOFY#issuecomment-517822231), or mute the thread(https://github.com/notifications/unsubscribe-auth/AABYRZ2DSX6MMTCQFFY3TJLQCSE5DANCNFSM4IIGOJTQ).
Version 0.18 added
TsType.Tuple
andFlowType.Tuple
to encode tuple Typescript and Flow tuple types:We can currently create these types using the DSL:
However, we can't yet map Scala tuples onto them using
decl[T]
. If we can add tuple support to Elm's model, we can write somescala.TupleX
encoders using shapeless of sbt-boilerplate.The text was updated successfully, but these errors were encountered: