You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
I would like to import PropType from nuxt-composition-api module. According to the source code, nuxt-composition-api exposes @vue/composition-api so that I can use PropType without any issues. As far as I see, no error is generated technically but ESLint confuses me here:
Is it just a linting bug or is there anything configured wrongly?
Thanks and happy coding!
The text was updated successfully, but these errors were encountered:
@qhantom This is a known issue with that particular rule in eslint and TypeScript code, and is not particular to this project.
I'd recommend ensuring you have eslint set up with the correct parse (see Nuxt recommended config), turning the rule off for TypeScript code (as there is another TypeScript eslint rule) or doing an explicit type import (import type { PropType } ...).
I would like to import
PropType
fromnuxt-composition-api
module. According to the source code,nuxt-composition-api
exposes@vue/composition-api
so that I can usePropType
without any issues. As far as I see, no error is generated technically but ESLint confuses me here:Is it just a linting bug or is there anything configured wrongly?
Thanks and happy coding!
The text was updated successfully, but these errors were encountered: