title: I am trying to access custom cellRendererParams inside the CustomCellRenderer Class
body: <p>I am trying to use Ag-Grid for my angular application and create a custom cell renderer. In the implementation that I have followed, it uses ICellRendererParams for the type of params being passed to the init event.</p>
  <pre><code>agInit(params: ICellRendererParams): void {
      this.params = params;
      this.type = this.params.type || null;
    }
  </code></pre>
  <p>But now when I try to access custom prop from that params the lint gives the error <em><strong>Property 'type' does not exist on type 'ICellRendererParams'.</strong></em>. Which works perfectly fine when I change the type to <em><strong>any</strong></em>. I have tried creating a custom model class inheriting from <em><strong>ICellRendererParams</strong></em> and adding a property type in it and using that class instead of ICellRendererParams. I wanted to ask if this is the right approach or is there any other cleaner approach to access a property from the interface.</p>