I am using the following versions in my package.json "@syncfusion/ej2-angular-buttons": "^17.1.50", "typescript": "^2.9.2", "@angular/cli": "^6.0.0-rc.5",
When building the project without prod tag ng build, it appears to be successful.
But when I try to optimize and run the ng build --prod, it throws me error
ERROR in ./node_modules/@syncfusion/ej2-angular-buttons/@syncfusion/ej2-angular-buttons.es5.js Module build failed: Error: Debug Failure. False expression. at getJSDocTags (C:\workspace\newui\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:13197:22).
I tried to downgrade the "@syncfusion/ej2-angular-buttons": "^16.1.37" and ng build --prod is working fine but it is not compatible with my @syncfusion/ej2-angular-grids package.
Can someone suggest how to resolve the build error for version 17.1.50