You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I 'm using angular 8, and get the following check error with the new 1.1.0 version of RX-STOMP.
The error log:
"
ERROR in ../../node_modules/@stomp/rx-stomp/esm6/rx-stomp.d.ts:124:9 - error TS1086: An accessor cannot be declared in an ambient context.
124 get stompClient(): Client;
~~~~~~~~~~~
../../node_modules/@stomp/rx-stomp/esm6/rx-stomp.d.ts:193:9 - error TS1086: An accessor cannot be declared in an ambient context.
193 get active(): boolean;
"
I can skip it with :
"compilerOptions": {
"skipLibCheck": true,
Is there another solution ? (upgrade typescript maybe ? Angular 8 is limited to "typescript": "~3.5.3")
The text was updated successfully, but these errors were encountered:
The current release of rx-stomp is compiled using Typescript 3.2.1. I had frozen that version to avoid this issue a while back. I have been using this library with Angular 7, 9, and 10 without this issue. However, if anyone faces the same issue I know only of the bypass that you are already using.
It seems typescript dependency had gotten relaxed - maybe by - dependabot. Version 3.9.99 was getting used. As part of release 1.1.2, typescript is contained back to 3.6.x. Hopefully, it should work without the workaround now.
Leaving this issue open for reports of it working/failing.
Hello
First thanks for RX-STOMP !
I 'm using angular 8, and get the following check error with the new 1.1.0 version of RX-STOMP.
The error log:
"
ERROR in ../../node_modules/@stomp/rx-stomp/esm6/rx-stomp.d.ts:124:9 - error TS1086: An accessor cannot be declared in an ambient context.
124 get stompClient(): Client;
~~~~~~~~~~~
../../node_modules/@stomp/rx-stomp/esm6/rx-stomp.d.ts:193:9 - error TS1086: An accessor cannot be declared in an ambient context.
193 get active(): boolean;
"
I can skip it with :
"compilerOptions": {
"skipLibCheck": true,
Is there another solution ? (upgrade typescript maybe ? Angular 8 is limited to "typescript": "~3.5.3")
The text was updated successfully, but these errors were encountered: