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

Cannot construct tree #1

Open
davidmweber2 opened this issue Feb 28, 2023 · 0 comments
Open

Cannot construct tree #1

davidmweber2 opened this issue Feb 28, 2023 · 0 comments

Comments

@davidmweber2
Copy link

I am unable to construct a tree as per example. The following code

import Tree from "ts-tree-structure"

const t = new Tree()

fails with the error error TS2351: This expression is not constructable. I am using Typescript 4.9.5. I believe this is related to the error reported here

I have updated all the dependencies in your packages using npm-check -u and run the test cases which pass fine.

Thanks!

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