我升级了我的 Angular 11 项目RxJS 7
,在网络风暴中它建议我更改一些Subject
导入,一旦我更新这些导入,我就会遇到错误
ERROR: node_modules/rxjs/dist/types/internal/ajax/types.d.ts:9:40 - error TS1110: Type expected.
9 export declare type AjaxResponseType = `${AjaxDirection}_${ProgressEventType}`;
~~~
node_modules/rxjs/dist/types/internal/ajax/types.d.ts:9:43 - error TS2693: 'AjaxDirection' only refers to a type, but is being used as a value here.
9 export declare type AjaxResponseType = `${AjaxDirection}_${ProgressEventType}`;
~~~~~~~~~~~~~
node_modules/rxjs/dist/types/internal/ajax/types.d.ts:9:60 - error TS2693: 'ProgressEventType' only refers to a type, but is being used as a value here.
9 export declare type AjaxResponseType = `${AjaxDirection}_${ProgressEventType}`;
~~~~~~~~~~~~~~~~~
An unhandled exception occurred: node_modules/rxjs/dist/types/internal/ajax/types.d.ts:9:40 - error TS1110: Type expected.
有人解决了这个试图迁移到的问题RxJs7
吗?