Skip to content

fix: sdk types #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix: sdk types #1058

wants to merge 2 commits into from

Conversation

easy1090
Copy link
Contributor

Summary

fix: sdk types

Related Links

Copy link

@Copilot 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 updates the SDK types used in the tests to align with recent changes in the SDK implementation. The key changes include:

  • Changing the import of the Node.js "path" module from a default import to a namespace import.
  • Updating the type for the "sdk" property in the MockSDKResponse interface from RsdoctorSDK to SDK.RsdoctorSDKInstance.
Comments suppressed due to low confidence (1)

packages/sdk/tests/utils.ts:10

  • The change in the SDK type in the MockSDKResponse interface is clear; please ensure that related tests and client code expecting RsdoctorSDK are updated accordingly to prevent type mismatches.
sdk: SDK.RsdoctorSDKInstance;

Copy link

netlify bot commented Apr 28, 2025

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit 3a372c7
🔍 Latest deploy log https://app.netlify.com/sites/rsdoctor/deploys/6819a4fb0842160008852ef6
😎 Deploy Preview https://deploy-preview-1058--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant