angular6 rxjs启动报错 ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected.

引入rxjs模块后,启动项目报错
ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.

解决:

issue:
https://github.com/ReactiveX/rxjs/issues/4540
https://github.com/ReactiveX/rxjs/issues/4512

你可能感兴趣的:(angular)