Skip to content

types error with options watch #12780

@wfk007

Description

@wfk007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions