Primeng: Wrong import. Angular 8 wont work.

Created on 29 May 2019  路  5Comments  路  Source: primefaces/primeng

I'm submitting a ... (check one with "x")

[X] bug report
[ ] feature request
[ ] support request

Current behavior
It's not possible to build application with Angular 8 throughwrong import in table.d.ts:
import { OnDestroy } from '@angular/core/src/metadata/lifecycle_hooks';

Expected behavior
Application should work, and table.d.ts should have an import:
import { OnDestroy } from '@angular/core';

Minimal reproduction of the problem with instructions
Build application with latest version of Angular 8.
Console log:
ERROR in node_modules/primeng/components/table/table.d.ts(5,27): error TS2307: Cannot find module '@angular/core/src/metadata/lifecycle_hooks'.

Similar to #7306 #7355

Most helpful comment

Will this fix be available in Primeng 7?
If not, is there a workaround?

All 5 comments

Will this fix be available in Primeng 7?
If not, is there a workaround?

When PrimeNG8 is going to release

+1

+1

Was this page helpful?
0 / 5 - 0 ratings