Error TS2345 for npm run test in experimental/generation/generator #3410
Labels
bug
Indicates an unexpected problem or an unintended behavior.
ExemptFromDailyDRIReport
Use this label to exclude the issue from the DRI report.
needs-triage
The issue has just been created and it has not been reviewed by the team.
@microsoft/bf-generate-library: > @microsoft/[email protected] test D:\a\1\s\experimental\generation\generator\packages\library
@microsoft/bf-generate-library: ^
@microsoft/bf-generate-library: > nyc --extension .ts mocha --forbid-only "test/**/*.test.ts"
@microsoft/bf-generate-library: TSError: ⨯ Unable to compile TypeScript:
@microsoft/bf-generate-library: ----------|----------|----------|----------|----------|-------------------|
@microsoft/bf-generate-library: test/generate.test.ts(336,66): error TS2345: Argument of type 'import("D:/a/1/s/experimental/generation/generator/node_modules/botbuilder-dialogs-adaptive-runtime-core/lib/serviceCollection").ServiceCollection' is not assignable to parameter of type 'import("D:/a/1/s/experimental/generation/generator/node_modules/botbuilder-dialogs-adaptive/node_modules/botbuilder-dialogs-adaptive-runtime-core/lib/serviceCollection").ServiceCollection'.
@microsoft/bf-generate-library: Types have separate declarations of a private property 'dependencies'.
@microsoft/bf-generate-library: at createTSError (D:\a\1\s\experimental\generation\generator\node_modules\ts-node\src\index.ts:434:12)
Repros locally with:
This error can be seen failing the build
BotBuilder-bf-generate-JS/20210817.264388 in the task npm run test.
The text was updated successfully, but these errors were encountered: