Skip to content

unused parameters when --noUnusedParameters is on #7

@mrkvon

Description

@mrkvon

Hello, when i use ngx-http-test with "noUnusedParameters": true in my tsconfig.json, i get the following errors:

ERROR in [path-to-project]/node_modules/ngx-http-test/src/backend-expectation.ts (54,35): 'values' is declared but never used.

ERROR in [path-to-project]/node_modules/ngx-http-test/src/fake-backend.ts (124,32): 'connection' is declared but never used.

If the above parameters connection and values were renamed to _connection and _values, the error would disappear. Would such a fix be possible?

It is an angular-cli project if that makes any difference.

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