Open dylanarmstrong opened 1 year ago
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?
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.
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.