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
v2
Flujo de palabras (Flow)
On your documentation: https://www.builderbot.app/en/uses-cases#switch-to-another-flow
.addAnswer(`Thanks for you answer`,async (ctx, {gotoFlow})=> { const userAnswer = ctx.body if(userAnswer === 'A'){ return gotoFlow(flowToA) } if(userAnswer === 'B'){ return gotoFlow(flowToB) } if(userAnswer === 'C'){ return gotoFlow(flowToC) } return gotoFlow(flowDefault) })
VSCode is reporting me this error:
Argument of type '(ctx: any, { gotoFlow }: { gotoFlow: any; }) => any' is not assignable to parameter of type 'string | string[]'.ts(2345)
No response
The text was updated successfully, but these errors were encountered:
¿Alguna novedad sobre esta ISSUE?
Sorry, something went wrong.
is there any news about this?
No branches or pull requests
¿Que versión estas usando?
v2
¿Sobre que afecta?
Flujo de palabras (Flow)
Describe tu problema
On your documentation:
https://www.builderbot.app/en/uses-cases#switch-to-another-flow
VSCode is reporting me this error:
Argument of type '(ctx: any, { gotoFlow }: { gotoFlow: any; }) => any' is not assignable to parameter of type 'string | string[]'.ts(2345)
Reproducir error
No response
Información Adicional
No response
The text was updated successfully, but these errors were encountered: