Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vue/no-mutating-props false negative with imported props interface #2200

Open
Labels
@Yhspehy

Description

Vue version

3.3.2

Link to minimal reproduction

https://github.com/Yhspehy/vue3.3-import-type-bug

Steps to reproduce

  1. pnpm create vite@latest, select customize with create-vue, and choose ts+eslint+prettier
  2. cd ./.. && pnpm install
  3. add a interface file in direction components export interface Props {msg: string}
  4. import type Props in HellowWorld
  5. add in HelloWorld.
image image

What is expected?

should throw error on v-model="msg" when import Props fron interface file

What is actually happening?

it did't throw

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /