Type problem with Typescript for WaterfallStepContext.values (Bot Framework)

SALVATORE FASANO 1 Reputation point
2021-01-24T10:33:11.57+00:00

Hi, I'm working on a project with Azure Bot Framework using TypeScript. It's all quite simple, I'm just having a problem in the dialogs: I can't enter information in the values dictionary present in WaterfallStepContext as this field is not present in the declaration of values. I have tried to extend the definition so that values include the properties I enter but this changes the source type and therefore I am not allowed to do so. At the moment everything works but I am forced to use // @ ts-nocheck otherwise I have many errors.
Thanks in advance to anyone who helps me!

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
756 questions
{count} votes