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

fix: use "unknown" type for operators that ignore input values #6738

Merged
merged 2 commits into from Jan 11, 2022

Commits on Jan 5, 2022

  1. fix: use "unknown" type for operators that ignore input values

    These operators ignore the values produced by the source Observable, so
    they don't need the dynamic typing that "any" would provide for
    accessing the values.  Using "unknown" instead of "any" avoids warnings
    from eslint rules like @typescript-eslint/no-unsafe-argument in
    application code that uses the operators, and it's also a clearer way to
    express that the operators don't know or care what the source type is.
    Wyzard256 committed Jan 5, 2022
    Copy the full SHA
    0ec065d View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

  1. Copy the full SHA
    044420b View commit details
    Browse the repository at this point in the history