preact-transitioning
preact-transitioning copied to clipboard
Fix types resolution under modern module settings
The TypeScript types could not be resolved when importing the package under modern module resolution settings like node16 or bundler. This patch resolves this issue by specifying "exports"."types" in addition to the existing "types".
Verified via https://arethetypeswrong.github.io/.