refactor(examples/nextjs-suspense-streaming): drop unnecessary 'as string' cast#10859
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesType Inference Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 95810d4
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview3 package(s) bumped directly, 22 bumped as dependents. 🟩 Patch bumps
|
size-limit report 📦
|
🎯 Changes
Drop the unnecessary
as stringcast onquery.datainuseWaitQuery. ThequeryFnis already annotated withconst res: string = ..., so TypeScript infersquery.dataasstringand the cast is redundant —@typescript-eslint/no-unnecessary-type-assertionflags it as well.Found while updating this file in #10858 (
isServer→environmentManager.isServer()migration).✅ Checklist
🚀 Release Impact
Summary by CodeRabbit