-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with RXJS #1
Comments
I came across a similar question on StackOverflow. This was my suggestion for now: https://stackoverflow.com/a/44835078/2087204 |
Hi Maartenvanvliet, Thank you fro your response. I would like to appreciate your efforts and time on this project. Apart from the above issues, the project has been facing another issue like
{
|
Hi,
When trying to issues the "npm dev run" command we got the below errors.
ERROR in D:\workspace\Angularjs_workspace\ng2-typescript-boilerplate\node_modules\rxjs\observable\dom\WebSocketSubject.d.ts
(24,22): error TS2415: Class 'WebSocketSubject' incorrectly extends base class 'AnonymousSubject'.
Types of property 'lift' are incompatible.
Type '(operator: Operator<T, R>) => WebSocketSubject' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'WebSocketSubject' is not assignable to type 'Observable'.
Types of property 'operator' are incompatible.
Type 'Operator<any, R>' is not assignable to type 'Operator<any, T>'.
Type 'R' is not assignable to type 'T'.
ERROR in D:\workspace\Angularjs_workspace\ng2-typescript-boilerplate\node_modules\rxjs\Subject.d.ts
(16,22): error TS2415: Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.
ERROR in ./src/store/store.ts
(12,55): error TS2345: Argument of type '{ counter: (state: ICounterRecord, action: Action) => ICounterRecord; session: (state: ISessionRe...' is not assignable to parameter of type 'ReducersMapObjec
'.
Property 'router' is incompatible with index signature.
Type '(state: string, action: RouterAction) => string' is not assignable to type 'Reducer'.
Types of parameters 'action' and 'action' are incompatible.
Type 'A' is not assignable to type 'RouterAction'.
Type 'Action' is not assignable to type 'RouterAction'.
Property 'payload' is missing in type 'Action'.
webpack: Failed to compile.
could you please help us ?
The text was updated successfully, but these errors were encountered: