Generic Object type in typescript : <p>In typescript is there any way to assign a variable a generic object type.
Here's what I mean by 'generic Object type'</p>

<pre><code>let myVariable: GenericObject = 1 // Should throw an error
                              = 'abc' // Should throw an error
                              = {} // OK
                              = {name: 'qwerty'} //OK
</code></pre>

<p>i.e. It should only allow javascript objects to be assigned to the variable and no other type of data(number, string, boolean) </p>
