@azure/communication-chat: ChatMessageType
should be a string literal union type
#15276
Labels
ChatMessageType
should be a string literal union type
#15276
Describe the bug
Currently
ChatMessageType
is just a string but it can actually only be a set of known, specific values. Having it as a string type means it does not provide any assurances to what its value could be.azure-sdk-for-js/sdk/communication/communication-chat/src/generated/src/models/index.ts
Line 315 in 63624cc
Expected behavior
I would expect this to be a string literal union:
The text was updated successfully, but these errors were encountered: