2018-07-04 04:40:14 +0000 - Written by Carl Burks
My tsconfig.json has two very important “compilerOptions”:
"experimentalDecorators":true, "emitDecoratorMetadata": true
These get rid of the node warnings and let the decorators work.
In my project I was able to inject a data provider so I could switch between the node “fs” to read local json files and an $.ajax request to a webservice for data.