Typescript Notify V1 notification - data parameter doesn't match docs #408
Labels
code-generation
issue deals with generated code
difficulty: easy
fix is easy in difficulty
type: bug
bug in the library
type: twilio enhancement
feature request on Twilio's roadmap
Version: 3.27.1
Hello,
Thanks for the awesome library -- I'm running into one small issue.
The data property for the notification service is listed in the documentation as an object however the Typescript bindings are giving me a type-mismatch error saying it needs to be a string.
Looking at the code, it looks like it's referenced as a string property here, but in other sdks like twilio-python, it is listed as a dict or in the twilio-csharp it is listed as an object.
Code Snippet
The below snippet gives me an error
Error:
Should the typescript bindings be modified to match the types of the other SDKs or am I doing something wrong?
Thanks for your help!
The text was updated successfully, but these errors were encountered: