Thursday, May 3, 2018

experimentalDecorators errors in TypeScript

This is a silly TypeScript error that may appear in Visual Studio Code 1.17.2. As suggested here, make it go away from an Angular 4 application by opening the tsconfig.json file in the root of folder structure and adding this inside compilerOptions:

"experimentalDecorators": true

No comments:

Post a Comment