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

types(reactivity): disallow using functions with arguments as a computed getter (fix #5692) #5695

Closed
wants to merge 4 commits into from

Commits on Jun 2, 2022

  1. types(reactivity): disallow using functions with arguments as a compu…

    …ted getter
    
    close vuejs#5692
    unshame authored and Oleg Shibaev committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    c40be73 View commit details
    Browse the repository at this point in the history
  2. types(reactivity): make sure getters defined with arrow functions wor…

    …k in options API
    
    Add special versions of ComputedGetter and WritableComputedOptions that accept view model as argument
    unshame authored and Oleg Shibaev committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    a9e8642 View commit details
    Browse the repository at this point in the history
  3. types(reactivity): fix type inference in computed options

    Relax type of ComputedGetterWithVModel
    unshame authored and Oleg Shibaev committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    ecf051b View commit details
    Browse the repository at this point in the history
  4. types(reactivity): rename ComputedGetterWithVModel to ComputedGetterW…

    …ithInstance
    unshame authored and Oleg Shibaev committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    363d6e9 View commit details
    Browse the repository at this point in the history