unjs / jiti

Runtime TypeScript and ESM support for Node.js
MIT License
1.91k stars 62 forks source link

feat: support generic type for `jiti.import<T>` #331

Closed hywax closed 1 month ago

hywax commented 1 month ago

🔗 Linked issue

resolves https://github.com/unjs/jiti/issues/330

📚 Description

Added type support