I adding text into html element from ts
like this
this.legend.append(\'text\') .attr(\'x\', legendRectSize + legendSpacing) .attr(\'y\', legendRectSi
If Pipename is your custom pipe then if you want to use the same in your ts file then you can use below code
import {Pipename} from './pipename'; Pipename.prototype.transform(arguments);//this is how u can use your custom pipe