Closed dmaretskyi closed 8 months ago
I've encountered issues in nodenext
mode where importing can cause it to go look for .d.cts instead of .d.ts. Explicitly specifying the types filename is preferable to avoid file extension confusion in mixed node/bundler environments, e.g. when you wish to run ts-node
scripts.
I'm having a strange sense of deja-vu. Does the conclusion in that PR also fit here?