You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use an interface from @progress/kendo-angular-charts, an error is shown during the build if tsconfig targets es2015. There are no errors if tsconfig targets es5.
Steps to reproduce the behavior:
create a new Angular 8 application using ng new ang8.
install @progress/kendo-angular-charts
create a new file series-wrapper.ts.
`import { Series } from '@progress/kendo-angular-charts';
export class SeriesWrapper {
constructor(
public series: Series
) { }
}
`
4) Use the file in app.component.ts
public seriesWrapper = new SeriesWrapper(null);
5) Build the project with npm run start
Build fails with the following error
ERROR in ./src/app/series-wrapper.ts 8:12-18
"export 'Series' was not found in '@progress/kendo-angular-charts'
See attached the attached file with the repro ang8.zip
Expected behavior
Build does not fail. Application is working.
The text was updated successfully, but these errors were encountered:
@tsvetomir yeah, thanks for clarifying. Downgrading to "@angular-devkit/build-angular": "0.800.3", fixes the problem. Please feel free to close this issue if needed.
When trying to use an interface from @progress/kendo-angular-charts, an error is shown during the build if tsconfig targets es2015. There are no errors if tsconfig targets es5.
Steps to reproduce the behavior:
`import { Series } from '@progress/kendo-angular-charts';
export class SeriesWrapper {
constructor(
public series: Series
) { }
}
`
4) Use the file in app.component.ts
public seriesWrapper = new SeriesWrapper(null);
5) Build the project with npm run start
Build fails with the following error
ERROR in ./src/app/series-wrapper.ts 8:12-18
"export 'Series' was not found in '@progress/kendo-angular-charts'
See attached the attached file with the repro
ang8.zip
Expected behavior
Build does not fail. Application is working.
The text was updated successfully, but these errors were encountered: