Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.03k stars 1.19k forks source link

Missing pushChannelExpired attribute type definition #30439

Closed Fachou01 closed 2 weeks ago

Fachou01 commented 1 month ago

I'm using the ANH SDK package in an Express application with TypeScript. I encountered a problem related to the type when using the getInstallation method within the NotificationHubsClient object. The result returns a pushChannelExpired attribute with an actual value when I log it, but I can't access that attribute at the code level because the Installation type provided by the ANH SDK doesn't have that attribute specified within the Installation type.

Screenshots The result returned by getInstallation method: image

The attempt of accessing pushChannelExpired attribut: Screenshot from 2024-07-16 15-00-31

jeremymeng commented 1 month ago

Thanks for reporting this issue @Fachou01! We will take a look as soon as we can.