Closed tbsvttr closed 6 years ago
Please read TypeScript 2.7 features. You need definite assignment assertions
since decorated properties does not have initializers.
https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#stricter-class-property-checks
Thanks @ktsn! While I could fix this issue new ones arrived in combination with an already known bug in vue-test-utils. https://github.com/vuejs/vue-test-utils/issues/73
Every usage of vuex-class causes the error
Property 'xxx' has no initializer and is not definitely assigned in the constructor.
after updating TypeScript from 2.6.2 to 2.7.1.