Skip to content

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

@FirstVertex

Description

@FirstVertex

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions