As per the changes that TypeScript has been pushing since the release of TypeScript v5 with module resolutions it is now required to explicitly define types in the export mapping otherwise errors are thrown. This solution won't fully ensure a pass by arethetypeswrong but it will still be better than it is now. To fully match arethetypeswrong tailvue would need to be bundled separately for ESM and CJS on typings level as well. (index.d.cts and index.d.mts)
As per the changes that TypeScript has been pushing since the release of TypeScript v5 with module resolutions it is now required to explicitly define types in the export mapping otherwise errors are thrown. This solution won't fully ensure a pass by arethetypeswrong but it will still be better than it is now. To fully match arethetypeswrong tailvue would need to be bundled separately for ESM and CJS on typings level as well. (
index.d.cts
andindex.d.mts
)