How can I add a function to a class constructor from an external file in TypeScript?

前端 未结 0 1874
予麋鹿
予麋鹿 2021-01-23 06:04

How can I add a function to a class constructor from an external file in TypeScript? For example:

class SpongeHelpers{
    public html: any;
    constructor(sel)          


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