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

Typescript Import issue with NodeNext #119

Closed
piquark6046 opened this issue Feb 27, 2024 · 3 comments
Closed

Typescript Import issue with NodeNext #119

piquark6046 opened this issue Feb 27, 2024 · 3 comments

Comments

@piquark6046
Copy link
Member

Summary

AGTree npm package cannot be imported if a developer want to develop new TS program with NodeNext.

How to reproduce

Screencast.from.2024-02-28.02-00-15.webm
  1. Create new TS project.
  2. Add module and moduleResolution key and NodeNext value in tsconfig.json file.

Related issue

@piquark6046
Copy link
Member Author

I think that using zod instead of superstruct is better option for NodeNext.

@scripthunter7
Copy link
Member

@piquark6046 It seems already fixed in fafeda8

But we need to make a new release to make it live

@piquark6046
Copy link
Member Author

piquark6046 commented Apr 24, 2024

By the way, I suggest pkgroll for a zero-config bundler.
And, https://docs.npmjs.com/generating-provenance-statements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants