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

DurableObject type should work in the mixin case #3272

Open
supfilistine opened this issue Dec 26, 2024 · 0 comments
Open

DurableObject type should work in the mixin case #3272

supfilistine opened this issue Dec 26, 2024 · 0 comments
Assignees
Labels
types Related to @cloudflare/workers-types

Comments

@supfilistine
Copy link

Typescript offers a wonderful way of mixing in classes in order to get beyond the limitation of being able to extend only one class in JS.

ts-mixer is a great project and I checked it works with abstract classes, which Rpc.DurableObject is. I am not sure why then it doesn't detect that my DO class is extending it, just not in a conventional way.

Does anything jump out at you when you look at the example code I shared in this issue?

@supfilistine supfilistine added the types Related to @cloudflare/workers-types label Dec 26, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types Related to @cloudflare/workers-types
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants