Skip to content

Fix: Corrected getAudioRoutes Typing and Code Cleanup #838

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 1 commit into
base: master
Choose a base branch
from

Conversation

palmtown
Copy link

@palmtown palmtown commented Mar 7, 2025

This pull request addresses the following improvements:

  1. Corrected Typing for getAudioRoutes Method:
  • Updated the return type of getAudioRoutes from Promise<void> to Promise<AudioRoute[]> in the TypeScript definitions. This change aligns with the method's actual behavior, enhancing type safety and developer experience.
  1. Code Syntax Improvements and Cleanup:
  • Resolved various syntax issues and performed general code cleanup to improve readability and maintainability.

These changes aim to enhance the reliability and clarity of the react-native-callkeep library, ensuring accurate typings and cleaner code.

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.

1 participant