Groups
Groups
Sign in
Groups
Groups
Cap'n Proto
Conversations
About
Send feedback
Help
Re: [capnproto] UInt64 error for ts file!
22 views
Skip to first unread message
Ian Denhardt
unread,
Jan 31, 2022, 3:45:52 PM
1/31/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cap'n Proto, ruhdv
I think the typescript implementation was recently updated to use
javascript's bigints for UInt64, rather than defining a special datatype
for them.
Quoting ruhdv (2022-01-31 08:30:06)
> Hi
>
> I created a struct with a UInt64 property ...
>
> It like this in .capnp.d.ts file :
>
> getTargetUser(): capnp.Uint64;
> setTargetUser(value: capnp.Uint64): void;
>
> But there is no Uint64 class inside capnp!
>
> When we check capnp index.d.ts file, we can see there are Lists and
> masks for uint64 but there is no class export for UInt64 itself and
> it's the reason of that error?
>
> What's wrong with that?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]
capnproto+...@googlegroups.com
.
> To view this discussion on the web visit
> [2]
https://groups.google.com/d/msgid/capnproto/6a10b1f9-7836-4677-ac89-
> b5a81dfe4833n%
40googlegroups.com
.
>
> Verweise
>
> 1. mailto:
capnproto+...@googlegroups.com
> 2.
https://groups.google.com/d/msgid/capnproto/6a10b1f9-7836-4677-ac89-b5a81dfe4833n%40googlegroups.com?utm_medium=email&utm_source=footer
Reply all
Reply to author
Forward
0 new messages