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

Quasar QInput and slot classified as none JSX Components #553

Closed
sschneider-ihre-pvs opened this issue Oct 4, 2021 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@sschneider-ihre-pvs
Copy link

I guess I have a similar problem, at least in some cases. With Quasar.

'__VLS_39' cannot be used as a JSX component.
  Its instance type 'QInput' is not a valid JSX element.ts(2786)
(property) 'q-input': ComponentConstructor<QInput, any, any, any, ComputedOptions, MethodOptions>

Originally posted by @sschneider-ihre-pvs in #552 (comment)

@sschneider-ihre-pvs
Copy link
Author

simple slot tag

JSX element type '__VLS_23' does not have any construct or call signatures.ts(2604)

@sschneider-ihre-pvs
Copy link
Author

QInput trace

[Trace - 10:24:05] Sending request 'textDocument/codeAction - (99)'.
Params: {
    "textDocument": {
        "uri": "file:///<path>.vue"
    },
    "range": {
        "start": {
            "line": 13,
            "character": 10
        },
        "end": {
            "line": 13,
            "character": 10
        }
    },
    "context": {
        "diagnostics": [
            {
                "range": {
                    "start": {
                        "line": 13,
                        "character": 8
                    },
                    "end": {
                        "line": 13,
                        "character": 15
                    }
                },
                "message": "'__VLS_39' cannot be used as a JSX component.\n  Its instance type 'QInput' is not a valid JSX element.",
                "code": 2786,
                "severity": 1,
                "source": "ts"
            }
        ]
    }

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Oct 4, 2021
@sschneider-ihre-pvs
Copy link
Author

@IlCallo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants