Skip to content
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

E (Eventual Send) type 'never' has no call signature #31

Open
0xpatrickdev opened this issue Jan 3, 2024 · 0 comments
Open

E (Eventual Send) type 'never' has no call signature #31

0xpatrickdev opened this issue Jan 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0xpatrickdev
Copy link
Member

When importing E from @endo/far instead of @endo/eventual-send, the typescript compiler will complain when any method is called on a remotable (E(remotable).foo()): type 'never' has no call signature.

Type definitions have been fixed in subsequent releases, but haven't landed in the the latest release - agoric-upgrade-13 - yet.

In the interim this can be solved by importing from @endo/eventual-send, but for convention it's preferable to import from @endo/far.

#26 (comment)

#26 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants