Non-deterministic typescript definitions
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes when `tsup` recompiles it generates a valid, but different version of the `.d.ts` file.
You can see an example diff here: https://gist.github.com/vpontis/bc4ae5c8f8ef6ba87026952dd21e5c6c
These two `.d.ts` files are semantically equivalent but `git` thinks they are different because the content in the file is getting reorganized.
Is this a known issue somewhere in the `tsup` pipeline? Is there any way I can avoid this?
Contributor guide
Assessment
This issue has not been assessed yet.