greenpress / vuex-composition-helpers

A util package to use Vuex with Composition API easily.
https://www.npmjs.com/package/vuex-composition-helpers
MIT License
288 stars 32 forks source link

[Next branch] Fix compatibility with TypeScript 4.7.x #70

Closed LeSuisse closed 2 years ago

LeSuisse commented 2 years ago

TypeScript 4.7.x complains about the possible implicit conversion from symbol to string. In order to resolve the issue we do not consider known keys that are symbols as a possibility. Vuex cannot use them since they cannot be serialized.

To reproduce the issue, you can upgrade the TypeScript version set as a dev dependency and then run the test suite.

(cherry picked from commit 0670f3adf21da759edfc3269c5eab4888917c2e2 see #68)

davidmeirlevy commented 2 years ago

Amazing! Thanks!!