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 error with options watch #12780

Closed
wfk007 opened this issue Sep 13, 2022 · 0 comments
Closed

types error with options watch #12780

wfk007 opened this issue Sep 13, 2022 · 0 comments

Comments

@wfk007
Copy link
Contributor

wfk007 commented Sep 13, 2022

Version

2.7.10

Reproduction link

codesandbox.io

Steps to reproduce

export default {
  name: "App",
  watch: {
    e: [
      "handle1",
      function handle2(val, oldVal) {},
      {
        handler: function handle3(val, oldVal) {},
      },
    ],
  },
};

What is expected?

no type error

What is actually happening?

type error

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

1 participant