Skip to content

Conversation

@nlisgo
Copy link
Contributor

@nlisgo nlisgo commented Nov 6, 2025

Fixes: #325

@eugef eugef requested a review from Copilot November 6, 2025 16:38
Copy link

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 adds type definitions for the _getChunks method on mock response objects to improve type safety. The change addresses issue #325 by ensuring that the _getChunks method is properly typed to return Buffer[].

Key Changes:

  • Added type assertions to verify that _getChunks() returns Buffer[] for both default and typed mock responses

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eugef eugef merged commit 8e00dc9 into eugef:master Nov 6, 2025
4 checks passed
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.

Typing for _getChunks

2 participants