I have the following code in Typescript. Why does the compiler throws an error?
var object = {}; Object.defineProperty(object, \'first\', {
Make the object type any:
var object: any = {};