Skip to content
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

updated types #164

Merged
merged 3 commits into from
Nov 10, 2023
Merged

updated types #164

merged 3 commits into from
Nov 10, 2023

Conversation

danvirsen
Copy link
Contributor

I recently updated drachtio-srf and noticed that TypeScript types were added some time ago.
Unfortunately this broke my entire application since the types doesn't seem to match the actual API that closely.

This PR holds my attempt att merging my own local type definitions that I used up until this point with the ones in the project. I would appreciate if someone else could test this as well. My application works fine like this, but there might be types that are left undefined or wrongly defined.

#160

@davehorton
Copy link
Collaborator

let me know when this can be merged

@danvirsen danvirsen marked this pull request as ready for review November 10, 2023 14:54
@danvirsen
Copy link
Contributor Author

This can be merged. I haven't heard back from anyone in the but it's at least an improvement.

@davehorton davehorton merged commit d66d068 into drachtio:main Nov 10, 2023
2 checks passed
danvirsen added a commit to danvirsen/drachtio-srf that referenced this pull request Nov 13, 2023
* updated types

* updated type definitions for localSdpA and localSdpB

* added missing type definition for AOR
@schuettc
Copy link

schuettc commented Mar 8, 2024

Did this get published? I see the correct (hopefully) Types in GitHub, but when I install, I am getting the older versions.

You can see it here: https://npm.runkit.com/drachtio-srf/lib/@types/index.d.ts?t=1709934254176

Confirmed using: 4.5.31

@danvirsen danvirsen deleted the update-types branch October 16, 2024 15:16
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.

3 participants