maximelafarie / ngx-smart-modal

Modal/Dialog component crafted for Angular (Ivy-compatible)
https://maximelafarie.com/ngx-smart-modal/
MIT License
325 stars 85 forks source link

Error: node_modules/ngx-smart-modal/src/modules/ngx-smart-modal.module.d.ts:12:24 - error TS2314 #356

Open Laurens-makel opened 1 year ago

Laurens-makel commented 1 year ago

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

[x ] bug report => search github for a similar issue or PR before submitting

Current behavior

Error: node_modules/ngx-smart-modal/src/modules/ngx-smart-modal.module.d.ts:8:23 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s). 8 static forRoot(): ModuleWithProviders;


Error: node_modules/ngx-smart-modal/src/modules/ngx-smart-modal.module.d.ts:12:24 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).
12     static forChild(): ModuleWithProviders;

**Expected behavior**
<!-- Describe what the behavior would be without the bug. -->
No compilation errors

**Reproduction of the problem**
<!-- If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: Run in Angular 14

**What is the motivation / use case for changing the behavior?**
<!-- Describe the motivation or the concrete use case -->
CI/CD pipeline

**Please tell us about your environment:**
<!-- Operating system, IDE, package manager, HTTP server, ... -->
Gitlab runner 

* **Smart Modal version:** 0.8.x
<!-- Check whether this is still an issue in the most recent table version -->
7.4.1

* **Angular version:** 2.0.x
<!-- Check whether this is still an issue in the most recent Angular version -->
14

* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
<!-- All browsers where this could be reproduced -->

* **Language:** [all | TypeScript X.X | ES6/7 | ES5]