Shemesh / angular-popout-window

Angular Popout Child Window
MIT License
11 stars 6 forks source link

Issue with add PopoutWindowModule into the imports array of your @NgModule #15

Closed RogerPenningtonLMCO closed 1 year ago

RogerPenningtonLMCO commented 1 year ago

Doing the line: import { PopoutWindowModule } from 'angular-popout-window';

kicks an error saying popout-window.component.ts:28:18 - error Generic type 'Component Declaration' requires 7 type argument(s).

I'm following along with your usage here: https://www.npmjs.com/package/angular-popout-window?activeTab=readme And I don't see this declaration being talked about here. Just says import and add to the to the @NgModule. Is there something that I am doing wrong here, or is there an issue with the package?

Any help would be greatly appreciated. Thanks

Shemesh commented 1 year ago

which Angular version? which angular-popout-window version?

RogerPenningtonLMCO commented 1 year ago

I am using angular-popout-window 4.0.0, and Angular version 13.3.11.

Shemesh commented 1 year ago

version 4 is for ng14+. for ng13- you should use version 3.1.1

RogerPenningtonLMCO commented 1 year ago

Oooohhhh. facepalm Thank you so much for the reply. I appreciate it.