How to use exported function in another component in html? ANgular?

后端 未结 0 723
天涯浪人
天涯浪人 2021-01-18 05:26

I have exported function in separated file

export function sum(population): string {
    return population.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, &quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题