node_modules/@angular/flex-layout/extended/typings/style/style.d.ts 中的错误

ERROR in node_modules/@angular/flex-layout/extended/typings/style/style.d.ts

我的 Angular 6.0.8 应用程序出现如下错误。我正在使用 Angular CLI 和 VSCode 中的 运行。

ERROR in node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(72,67): error TS1144: '{' or '; ' expected. node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,5): error TS1128: Declaration or stat ement expected. node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,33): error TS1005: ';' expected. node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(74,39): error TS1109: Expression expecte d. node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(79,5): error TS1128: Declaration or stat ement expected. node_modules/@angular/flex-layout/extended/typings/style/style.d.ts(80,1): error TS1128: Declaration or stat ement expected.

在应用中使用以下版本,

 "@angular/flex-layout": "^6.0.0-beta.17",
 "typescript": "~2.7.2"
 "rxjs": "^6.2.1",
 "@angular-devkit/build-angular": "~0.7.4",
 "@angular/cli": "~6.0.8",
 "@angular/compiler-cli": "^6.0.3",

请帮我解决一下!!

恢复到 RxJS6.2.2 版本以修复构建。

更多信息请参阅:https://github.com/angular/flex-layout/issues/827

尝试将打字稿升级到 2.9.2。适用于 flex-layout 6.0.0-beta.18 和 rxjs 6.3.2.

我认为这是 flex-layout 中的 Issue