BotBuilder-MicrosoftTeams-node icon indicating copy to clipboard operation
BotBuilder-MicrosoftTeams-node copied to clipboard

Error in teamsFactory.d.ts:4:71

Open wictorwilen opened this issue 5 years ago • 1 comments

I get the following error when building a package with a dependency on [email protected]:

node_modules/botbuilder-teams/lib/activityProcessor/teamsFactory.d.ts:4:71 - error TS2339: Property '0' does not exist on type '(ISubmitAction | IOpenUrlAction | IShowCardAction)[] | undefined'.

4 export declare type IAdaptiveCardAction = ac.IAdaptiveCard['actions'][0];
                                                                        ~

wictorwilen avatar Jun 02 '19 11:06 wictorwilen

@wictorwilen I get the same error. For now I am getting by using tsc --skipLibCheck option, which disables type checking node_modules. Hopefully this is fixed soon though.

dyladan avatar Jul 26 '19 13:07 dyladan