Clarify createBotFrameworkAuthenticationFromConfiguration
usage in yo templates
#4786
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
The signature of
createBotFrameworkAuthenticationFromConfiguration
botbuilder-js/libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts
Lines 270 to 276 in 3dd1c6a
does not allow to pass the first parameter as
null
. However, the code produced by theyo
template, calls this method asproducing a typescript error when using
strict: true
Expected behavior
The generated code should embrace the public API.
Update the method signature to allow nulls or update the template to avoid this error.
Additional context
This also happens in JS when using
@ts-check
The text was updated successfully, but these errors were encountered: