Skip to content

Cannot resolve all parameter (error in component when ResponsiveSizoInfoRX injected) #154

@aleperfetti81

Description

@aleperfetti81

Hi all,

i receive attached compiler error when i try to inject ResponsiveSizoInfoRX to a component, like this:

constructor(
......
protected responsiveSizeInfoRx: ResponsiveSizeInfoRx,
protected activatedRoute: ActivatedRoute,
protected router: Router
) {

I know that is a class, and is not declared as a service. But how can i use it like a service without receiving the compiler error?

Thank you very much.
err

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions