Repository navigation
fix(ipx): import NitroRuntimeConfig from nitropack/types - #2354
Conversation
The bare `nitropack` entry re-exports a deprecated NitroRuntimeConfig. Import the type from the `nitropack/types` subpath in the legacy IPX handler instead.
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2354 +/- ##
=======================================
Coverage 32.62% 32.62%
=======================================
Files 9 9
Lines 377 377
Branches 133 133
=======================================
Hits 123 123
Misses 197 197
Partials 57 57 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
📚 Description
Fixes a
ts(6385)deprecation in the Nitro v2 IPX handler.src/runtime/server/routes/_ipx.legacy.tsimportedNitroRuntimeConfigfrom the barenitropackentry, which is marked as deprecated. This PR imports the type fromnitropack/typesinstead, which is where the non-deprecated declaration lives.