-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.
Description
Versions
"botbuilder": "~4.23.0",
Describe the bug
When using
new ConfigurationBotFrameworkAuthentication(process.env) like in this sample
I got errors from VSCode when enabling ts-check, or when trying to use TypeScript.
Type 'ProcessEnv' has no properties in common with type '{ BotOpenIdMetadata?: string | undefined; ChannelService?: string | undefined; OAuthApiEndpoint?: string | undefined; CertificateThumbprint?: string | undefined; CertificatePrivateKey?: string | undefined; ... 9 more ...; CallerId?: string | undefined; }'.
To Reproduce
Steps to reproduce the behavior:
- Go to
BotBuilder-Samples/samples/javascript_nodejs/45.state-management/index.js - Add ts-check to index.js
Expected behavior
Provided declaration types should match expected usage
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.