Skip to content

exclamation marks in property declarations aren't parsed  #953

@muhajirdev

Description

@muhajirdev

Version

3.0.0-beta.6

Reproduction link

https://jsfiddle.net/50wL7mdz/165908/

Steps to reproduce

Create new vue project with typescript, eslint prettier

open app.vue

What is expected?

Got linting error in vscode

 '=' expected.
 Expression expected.
 Member 'string' implicitly has an 'any' type.

What is actually happening?

There's error messages


Same issue here prettier/prettier#3561

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions