-
Notifications
You must be signed in to change notification settings - Fork 5
fix: various fixes #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/serialization/index.ts
Outdated
@@ -51,4 +51,5 @@ export { | |||
Uint8List, | |||
VoidList, | |||
Void, | |||
type _Pointer, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this, some generated .ts
files included a _capnp
property that referenced a _Pointer
that TS couldn't find, causing:
error TS4026: Public static property '_capnp' of exported class has or is using name '_Pointer' from external module but cannot be named
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have a test perhaps to avoid regression?
@pi0 would you mind taking a look? |
As part of trying to upgrade
workers-sdk
to usecapnp-es
over the seemingly abandonedcapnp-ts
I ran into a few issues withcapnp-es
. I've solved them in a way that works for theworkers-sdk
use-case, but that may not fully fit the goals of this library, so I imagine there'll be some back and forth on some of the changes.