title: How to get around property does not exist on 'Object'
body: <p>I'm new to Typescript, and not sure how to word this question. </p>
  
  <p>I need to access two "possible" properties on an object that is passed in the constructor. I know im missing some checks to see if they are defined, but Typescript is throwing me a "Property does not exist on 'Object'" message. The message appears on the <strong>selector</strong> and <strong>template</strong> returns.</p>
  
  <pre><code>class View {
      public options:Object = {};
  
     constructor(options:Object) {
         this.options = options;
     }
  
     selector ():string {
         return this.options.selector;
     }   
  
     template ():string {
         return this.options.template;
     }   
  
     render ():void {
  
     }   
  }
  </code></pre>
  
  <p>I'm sure its fairly simple, but Typescript is new to me.</p>