title: How to use KeyValuePipe in components.ts file?
body: <p>Is it possible to use KeyValuePipe not in html but in ts file?
  If yes, could someone show me how?</p>
  
  <p>This is what I have now but obviously I cannot use the pipe like this.</p>
  
  <pre><code>let item of this.entityDetails | keyvalue{
              let properties:PropertyBase&lt;any&gt;[]=[
                  new TextboxProperty({
                      key: item.key,
                      label: item.key,
                      value: item.value,
                      required: false,
                  }),
                  ];
          }
  </code></pre>
  
  <p>Big thanks in advance</p>