Closed sfermigier closed 6 years ago
Hello, I have two different issues (!):
$ npm run build
ERROR in /home/vince/bacasable/TypeScript-Vue-Starter/src/components/HelloDecorator.vue.ts
(16,13): error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.
ERROR in /home/vince/bacasable/TypeScript-Vue-Starter/src/components/HelloDecorator.vue.ts
(17,13): error TS2564: Property 'initialEnthusiasm' has no initializer and is not definitely assigned in the constructor.
Debian, node v9.3, npm 5.5.
Regards
@vindarel I faced the same error updating typescript to 2.7.2 in my case, to solve it was enough to add this line
"strictPropertyInitialization": false,
to the CompilerOptions
property into the tsconfig.json
file
that made it ! Thanks.
Duplicate of #36.
"strictPropertyInitialization": false,
didn't work with me
node v10.14.1
tsc v3.2.1
still has this problem
@DanielRosenwasser