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

typescript not resolving nuxt auto-imports in templates #1581

Open
ronrix opened this issue Nov 20, 2024 · 1 comment
Open

typescript not resolving nuxt auto-imports in templates #1581

ronrix opened this issue Nov 20, 2024 · 1 comment

Comments

@ronrix
Copy link

ronrix commented Nov 20, 2024

Describe the bug
This is related to this issue, I'm getting typescript error when using auto-imported functions in templates.

To Reproduce
Example:

// utils 
export const isBool = () => true

// use it inside template
<template>
<div> is bool {{ isBool() }} </div>
</template>

error:
Vue: Property does not exist
image

Expected behavior
to resolve auto imported functions in templates

Versions
vue: 3.5.13
vue-apollo: 4.2.0
@apollo/client: 3.11.10

@ronrix
Copy link
Author

ronrix commented Nov 20, 2024

It already has a pr, see #1576

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