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

Expose detach() in .d.ts typings #314

Open
FirstVertex opened this issue May 18, 2021 · 0 comments
Open

Expose detach() in .d.ts typings #314

FirstVertex opened this issue May 18, 2021 · 0 comments

Comments

@FirstVertex
Copy link

We have a detach() method but it is not exposed in the lib's typings.

Let's expose detach() so that transient usage of this can be properly disposed.

Currently I have to use casts to unknown and any to get at the detach from Typescript:

(<any>(<unknown>ElementQueries)).detach();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant