Comments (5)
@Quineone This may be helpful for you: typescript-eslint/typescript-eslint#154
Note the discussion about the import/named
rule.
I'm closing this as it appears this is an issue with that particular rule.
from composition-api.
@danielroe Thank you for the quick response!
from composition-api.
That looks like an eslint error. Try:
import type { Ref } from 'nuxt-composition-api'
from composition-api.
That looks like an eslint error. Try:
import type { Ref } from 'nuxt-composition-api'
Hi @danielroe , that's work, thx. Expect can be fixed without using type
like the old version did.
from composition-api.
Hi @danielroe.
Actually we do not have any issue about other typed named import (in projects, or other packages).
Only those within this package.
More over, there is no error, when importing the types from @vue/composition-api
instead of @nuxtjs/composition-api
Maybe is there something particular here?
from composition-api.
Related Issues (20)
- fix: Can't pass object to template after update the version from 0.32.0 to 0.33.x HOT 4
- fix: Error: Unknown file extension: [...]node_modules/pathe/dist/index.cjs HOT 2
- help: Cannot call useContext() inside watch() callback HOT 4
- help: Failed to compile with 1 errors * @nuxtjs/composition-api in ./.nuxt/composition-api/meta.mjs HOT 2
- feat: A method to opt-out of automatic use of useMeta HOT 1
- help: Before mount, await useFetch HOT 13
- help: A circular reference error occurs when useFetch and useRouter are used together. HOT 1
- help: The object containing exported methods in the setup function is an empty object.
- help: How to set 'noindex' for SEO for a specific component? HOT 1
- help: Computed property based on an object prop HOT 1
- fix: useContext().error() with useAsync() causes hydration error HOT 1
- help: Cannot use import statement outside a module HOT 4
- fix: Module should export a function: @nuxtjs/composition-api HOT 5
- help: I can't use useHead in nuxt 2 HOT 1
- help: i get a error that show "[error] (node:19103) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/apache/.jenkins/workspace/prod/node_modules/@nuxtjs/composition-api/package.json. Update this package.json to use a subpath pattern like "./*". "" when i run "npm i"
- fix: `redirectedFrom` not exists in `useRoute()`
- docs: How do I register middleware in script setup HOT 1
- help: I don't receive fresh data via useAsyncData when change params. HOT 1
- Extend package.json to be compatible with moduleResolution: bundler
- fix: watch and useRoute() not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composition-api.