Coder Social home page Coder Social logo

Comments (7)

MNelson001 avatar MNelson001 commented on July 17, 2024

I'd like to see this too. When adding it as a dependency and attempting to import in a .ts file - It throws an error starting on line 262 of directline.d.ts The error is Property destructuring pattern expected

from botframework-directlinejs.

billba avatar billba commented on July 17, 2024

@MNelson001 that sounds like you're using an older version of TypeScript.

from botframework-directlinejs.

billba avatar billba commented on July 17, 2024

@MNelson001 were you able to get this to work?

from botframework-directlinejs.

MNelson001 avatar MNelson001 commented on July 17, 2024

I have not been able to get it to work as of yet, but work has been busy so I've had little time to tinker. Will get back to it soon and give you an update.
Thanks for checking in tho!

from botframework-directlinejs.

DMarinsa avatar DMarinsa commented on July 17, 2024

¿Any advances on this? I'm trying to implement DirectLine in my client but when I send an activity I'ts throwing this

Error posting activity TypeError: Observable_1.Observable.throw is not a function at DirectLine.push../node_modules/botframework-directlinejs/built/directLine.js.DirectLine.catchExpiredToken (directLine.js:327) at CatchSubscriber.selector (directLine.js:273) at CatchSubscriber.push../node_modules/rxjs/_esm5/internal/operators/catchError.js.CatchSubscriber.error (catchError.js:33) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._error (Subscriber.js:80) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.error (Subscriber.js:60) at TakeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._error (Subscriber.js:80) at TakeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.error (Subscriber.js:60) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._error (Subscriber.js:80) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.error (Subscriber.js:60) at FilterSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._error (Subscriber.js:80)

from botframework-directlinejs.

compulim avatar compulim commented on July 17, 2024

@MNelson001 please let us know if a newer TypeScript compiler would work.

@DMarinsa looks like you are getting expired token error. Can you refer to README.md for instructions on renewing the token?

from botframework-directlinejs.

cwhitten avatar cwhitten commented on July 17, 2024

Closing due to inactivity.

from botframework-directlinejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.