Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngx-input-file Angular 10 issue #44

Open
dev-maven opened this issue Aug 13, 2020 · 2 comments
Open

ngx-input-file Angular 10 issue #44

dev-maven opened this issue Aug 13, 2020 · 2 comments

Comments

@dev-maven
Copy link

IMPORTANT:
Currently not compatible with angular 10 update

Steps to reproduce and a minimal demo

- ng update @angular ng update @angular/cli_
- _Stackblitz example Appreciated_

Current behavior
Generic type 'ModuleWithProviders' requires 1 type argument(s).

4 static forRoot(config: InputFileConfig): ModuleWithProviders;
-

Expected/desired behavior
Support for angular 10

@dev-maven
Copy link
Author

dev-maven commented Aug 13, 2020

IMPORTANT:
Currently not compatible with angular 10 update

Steps to reproduce and a minimal demo

- ng update @angular ng update @angular/cli_
- _Stackblitz example Appreciated_

Current behavior
Generic type 'ModuleWithProviders' requires 1 type argument(s).

4 static forRoot(config: InputFileConfig): ModuleWithProviders;

Expected/desired behavior
Support for angular 10

For anyone who got here having this issue, a fix for now is this :
Change the input.file.module.ts to this

export declare class InputFileModule {
static forRoot(config: InputFileConfig): ModuleWithProviders <unknown>;
}

pending the time the package is updated

@dev-maven dev-maven changed the title Angular 10 update ngx-input-file Angular 10 issue Aug 13, 2020
@rsaenen
Copy link
Owner

rsaenen commented Oct 30, 2020

Hi, please check #38

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants