-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
4.xbugSomething isn't workingSomething isn't workingtypesRelated to typings onlyRelated to typings only
Description
Version
4.0.0-beta.1
Reproduction link
https://github.com/ChrisShank/vue-next-webpack-preview
Steps to reproduce
Remove the type declaration of 'useStore' I added in 'vuex-shim.d.ts', and there will be a compile-time TS error.
What is expected?
The type for useStore to exist.
What is actually happening?
On the line:
import { useStore } from 'vuex'
There is an error:
TS2614: Module 'vue-next-webpack-preview/node_modules/vuex/types"' has no exported member 'useStore'. Did you mean to use 'import useStore from "vue-next-webpack-preview/node_modules/vuex/types"' instead?
surmon-china, HerrHansen, Chickynuggie and 252860883
Metadata
Metadata
Assignees
Labels
4.xbugSomething isn't workingSomething isn't workingtypesRelated to typings onlyRelated to typings only