We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A question brought up on my Twitch stream today: overriding types of third party libraries if the types aren't made to be extended?
Example: some-library exports an interface MyData, and in your code you need to have an extra property myProperty added to all instances of MyData?
some-library
MyData
myProperty
A more specific example: https://github.com/versatica/mediasoup/blob/41e2f52786a61942209512ca5ce20798baad8b96/node/lib/Worker.d.ts#L39
Thanks voltaryx on Twitch for bringing up! 🙌
The text was updated successfully, but these errors were encountered:
See also: https://twitter.com/phunkren/status/1561794275855241216
Sorry, something went wrong.
JoshuaKGoldberg
No branches or pull requests
A question brought up on my Twitch stream today: overriding types of third party libraries if the types aren't made to be extended?
Example:
some-library
exports an interfaceMyData
, and in your code you need to have an extra propertymyProperty
added to all instances ofMyData
?A more specific example: https://github.com/versatica/mediasoup/blob/41e2f52786a61942209512ca5ce20798baad8b96/node/lib/Worker.d.ts#L39
Thanks voltaryx on Twitch for bringing up! 🙌
The text was updated successfully, but these errors were encountered: