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

Add Option to Not Write "tsTypes: {} as import("./index.typegen").Typegen0" #350

Open
dylanarmstrong opened this issue Jun 17, 2023 · 2 comments

Comments

@dylanarmstrong
Copy link

Feature Request

Currently, every time typegen runs, it will write this line. This line is invalid when compiling against node16 as it needs to be ./index.typegen.js.

Once I've already added the line, I'd like to turn off writing this line when watch triggers.

@Andarist
Copy link
Member

Andarist commented Jun 17, 2023

I'm not sure what you are asking here since you also opened another issue that is highly related to this one. How this one is different from that other one?

@dylanarmstrong
Copy link
Author

This is a feature request to disable writing the line entirely, and just generate the typegen file. The other issue was about the file extension missing from the import itself, which was causing issues on node16 for me.

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

2 participants