I am getting an error as below on my Angular 6.0.8 application. I am using Angular CLI and running from 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.
Using the following version in application,
"@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",
Please help me to sort out this !!
Try upgrading typescript to 2.9.2 . Works for me with flex-layout 6.0.0-beta.18 and rxjs 6.3.2.
I think this is the Issue in flex-layout.