gund / ng-dynamic-component

Dynamic components with full life-cycle support for inputs and outputs for Angular
https://malkevich-alex.gitbook.io/ng-dynamic-component/
MIT License
561 stars 65 forks source link

Property 'withComponents' does not exist on type 'typeof DynamicModule'. #508

Closed Vigneshjana closed 1 year ago

Vigneshjana commented 1 year ago

I am facing below issue while compiling

Property 'withComponents' does not exist on type 'typeof DynamicModule'.

My Module will be like below Screenshot

Screenshot 2023-07-04 135656

Environment:

gund commented 1 year ago

This static method is not needed for long time now, it was deprecated in v6 and removed in v7. So you should simply drop it and just keep the DynamicModule in your imports.