manekinekko / angular-web-bluetooth

The missing Web Bluetooth module for Angular
https://manekinekko.github.io/angular-web-bluetooth/
MIT License
196 stars 58 forks source link

app won't launch #34

Closed lionben89 closed 6 years ago

lionben89 commented 6 years ago

after installing packages, and doing npm start, getting this error: ERROR in node_modules/@manekinekko/angular-web-bluetooth/node_modules/rxjs/observable/FromEventObservable.d.ts(23,22): error TS2415: Class 'FromEventObservable' incorrectly extends base class 'Observable'. Types of property '_subscribe' are incompatible. Type '(subscriber: Subscriber) => void' is not assignable to type '(subscriber: Subscriber) => TeardownLogic'. Types of parameters 'subscriber' and 'subscriber' are incompatible. Type 'Subscriber' is not assignable to type 'Subscriber'. Property 'isStopped' is protected but type 'Subscriber' is not a class derived from 'Subscriber'. node_modules/@manekinekko/angular-web-bluetooth/node_modules/rxjs/observable/PromiseObservable.d.ts(10,22): error TS2415: Class 'PromiseObservable' incorrectly extends base class 'Observable'. Types of property '_subscribe' are incompatible. Type '(subscriber: Subscriber) => TeardownLogic' is not assignable to type '(subscriber: Subscriber) => TeardownLogic'. Types of parameters 'subscriber' and 'subscriber' are incompatible. Type 'Subscriber' is not assignable to type 'Subscriber'. Property 'isStopped' is protected but type 'Subscriber' is not a class derived from 'Subscriber'.

manekinekko commented 6 years ago

I think this is due to the new RxJS api. I'll schedule an upgrade asap.

manekinekko commented 6 years ago

v3.0.0 has been published to NPM. Could you please give it a try and let me know. Thanks