Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Dec 10, 2025

Part of #269213

@Tyriar Tyriar added this to the December / January 2026 milestone Dec 10, 2025
@Tyriar Tyriar self-assigned this Dec 10, 2025
Copilot AI review requested due to automatic review settings December 10, 2025 14:37
@Tyriar Tyriar enabled auto-merge December 10, 2025 14:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes a TypeScript any cast from terminal process code, part of a larger effort tracked in issue #269213 to eliminate unsafe type casts throughout the codebase. The change indicates that node-pty now natively supports Buffer types in its write method, making the workaround cast unnecessary.

  • Removes as any cast from Buffer.from() call when writing binary data to node-pty
  • Removes outdated TODO comment referencing pending node-pty PR #812
  • Removes eslint-disable directive for the no-any-casts rule

@Tyriar Tyriar disabled auto-merge December 10, 2025 15:37
@Tyriar
Copy link
Member Author

Tyriar commented Dec 10, 2025

Need to revert the node-pty change due to product build failure.

@Tyriar Tyriar closed this Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants