使用vuex时会有报错
import { mapState } from '@wepy/x'
报错信息如下
Could not find a declaration file for module '@wepy/x'. 'c:/workspace/MiniProgram-v2/node_modules/@wepy/x/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/wepy__x` if it exists or add a new declaration (.d.ts) file containing `declare module 'wepy__x';`
使用vuex时会有报错
import { mapState } from '@wepy/x'
报错信息如下