When using this module in a typescript project (v2.6.2) the above method signature produces the following error:
ERROR in [at-loader] ./node_modules/ngx-simple-modal/dist/simple-modal/simple-modal.component.d.ts:13:26
TS7006: Parameter 'component' implicitly has an 'any' type.
https://github.com/KevCJones/ngx-simple-modal/blob/1e29f0e18d8acb6a5c843250891ff61fa44da71f/src/simple-modal/simple-modal.component.ts#L80
When using this module in a typescript project (v2.6.2) the above method signature produces the following error:
I assume it should be typehinted as follows:
This could be overcome by using skiplibcheck: true but not a good setting to impose on a user.