microsoft / BotFramework-DirectLineJS

JavaScript client library for Microsoft Bot Framework's Direct Line protocol
MIT License
196 stars 122 forks source link

[Error] NetworkInformation, missing Interface. #418

Open phyr0s opened 5 months ago

phyr0s commented 5 months ago

When installing and running the project the interface NetworkInformation does not exist -->

Error: node_modules/botframework-directlinejs/lib/directLineStreaming.d.ts:13:26 - error TS2304: Cannot find name 'NetworkInformation'.

13 networkInformation?: NetworkInformation;

GusLAN commented 5 months ago

+1

brolo1313 commented 4 months ago

and what is solution? the same

igor-h commented 2 months ago

I'm facing same issue:

Error: node_modules/botframework-directlinejs/lib/directLineStreaming.d.ts:13:26 - error TS2304: Cannot find name 'NetworkInformation'.

13     networkInformation?: NetworkInformation;

Cannot find any solution. I'm using Angular 16.2. And Typescript 5.1.3

igor-h commented 2 months ago

did you found any solution for it guys? @phyr0s @brolo1313 @GusLAN