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

Dynamic import - assert vs. with #376

Open
bebraw opened this issue Feb 27, 2024 · 0 comments
Open

Dynamic import - assert vs. with #376

bebraw opened this issue Feb 27, 2024 · 0 comments

Comments

@bebraw
Copy link

bebraw commented Feb 27, 2024

I noticed something interesting while building a portion of gustwind to Node. It looks like Deno recommends using with for JSON import() while dnt compiles only with assert as discussed at TypeScript documentation.

I imagine this might be some standards thing that gets fixed over time but I thought to open the issue in case someone else runs to the same problem with JSON imports.

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