You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix type safety for undefined xpath values (#863) (#865)
## Summary
- Add proper type annotations for xpath lookup that can return undefined
- Update trimTrailingTextNode to handle undefined input safely
- Fix potential runtime errors when xpath is not found in
combinedXpathMap
## Test plan
- [x] Verify no TypeScript errors
🤖 Generated with [Claude Code](https://claude.ai/code)
# why
# what changed
# test plan
---------
Co-authored-by: Jeff Barg <jeffbarg94@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments