Closed avxkim closed 4 years ago
version: "vuex-persistedstate": "^3.0.1"
"vuex-persistedstate": "^3.0.1"
From a README:
const dataState = new createPersistedState({ paths: ['data'] })
but this causes an error in TS: 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.ts(7009)
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.ts(7009)
This is an error in the README; you can create a plugin instance through createPersistedState().
createPersistedState()
@robinvdvleuten would you fix it, so others won't face this issue?
@webcoderkz it is already fixed in the README 👍
version:
"vuex-persistedstate": "^3.0.1"
From a README:
but this causes an error in TS:
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.ts(7009)