Comments (5)
I completely missed 2.0.0-alpha.6 version that already has them exported 🤦♂️ as I was using 2.0.0-alpha.5, will try to make a PR for version one today at least.
from pinia.
PR welcome! v2 already does that
from pinia.
I will have to release a version soon for v2 for the exposed types
from pinia.
I don't understand what happened but in my 2.0.0-alpha.5 types were not exported but I can see that they were exported in both v1 and v2 branches long time ago. So I believe there is no need for PR, sorry for the confusion.
from pinia.
I pushed a commit to expose the types to v1 and will release the next week or so after adding other changes to align as much as possible with v2
from pinia.
Related Issues (20)
- Using Pinia app crashes with Error: The requested module 'vue-demi' does not provide an export named 'hasInjectionContext'
- The inferred type of 'default' cannot be named without a reference to '.pnpm/[email protected][email protected][email protected]/node_modules/pinia'. This is likely not portable. A type annotation is necessary.ts(2742) HOT 1
- Computed does not work in nested store
- In Pinia, the `watch` function fails to capture changes to object properties within the `state`.
- Composition API documentation HOT 1
- mapActions does not work with parameters HOT 1
- Return type of storeToRefs doesn't match runtime result if values are nested computed values HOT 1
- Composing Store lose typescript type HOT 1
- pinia doesn't show state properly when useAsyncState has been used
- Nuxt3 useRoute update HOT 1
- current use vscode vue3.2+pinia project, Mouse click can not jump HOT 1
- Pinia stores imported from npm packages are not reactive or don't share the same context
- After entering the route, the first v-model binding value cannot be captured and updated. HOT 2
- 【$subscribe】When the state is an Array, "mutation.events.key" doesn't indicate the state's name. HOT 2
- Could add a destructuring method contains actions and non reactive property? HOT 1
- Typescript issue with getter within getter HOT 2
- "pinia": "^2.1.7", has bug,click button more time, the arr disaplay wrong. HOT 1
- SSR does not works on pinia with Nuxt on repeated component
- Return types of state variables with nested ref/computed properties don't match the specified type
- disposePinia missing types 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 pinia.