I trying to create a class in TypeScript in Visual Studio 2013 with method func1
with alias func1_Alias
and show both in IntelliSense as methods, but IntelliSense shows alias as property instead of method. I can't found a way to show my alias func1_Alias
as method in IntelliSense except:
func1_alias(...args:any[]){
return this.func1.call(this, args);
}
But this way creates another function instead of using the same function. It's mean that func1 === func1_Alias => false
.