Olivier Martin
Olivier Martin
I am one of the maintainers of a "dual-package" and after reading this thread I have some questions related to the thread comments: 1. Is that correct that we should...
@weswigham @andrewbranch do you confirm that's what we should be doing? Just want to make sure I am getting this right. On a side note, do you mind giving pointers...
Thx for your answers @weswigham and @Jack-Works. I think my confusion come from the latest code snippet from this page of the handbook: https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing > By default, TypeScript overlays the...
Thanks for clarifying this @weswigham! I have a last confusion to clear up regarding around the `.d.cts` semantics. First, will it work to copy `.d.ts` type declaration to `.d.cts` without...
Thanks, @andrewbranch, it makes sense. I guess my question is more related to the syntax one should be used for exports/imports in `.d.cts` if it differs from `.d.ts`, are there...
Our use case is a bit specific so let me try to clarify. My team works on a source-to-source compiler that's generating JavaScript (in both CJS & ESM) and a...
Thx a lot @andrewbranch, I really appreciate your explanations on this. My question was related to the import in the `.d.cts` file? Can I leave the ones from the `.d.ts`...
That makes sense, thanks a lot for all the very useful information, I can see what I should be doing now!
Thx for fixing this @devcorpio! @wswebcreation any chance we can merge this one and publish a new release? I know there's a transition to GHA happening that's required for publishing...
Thx @wswebcreation, no worries I was aware that #274 was a prerequisite, thank you for your reply!