Given the following code:
class Foo
{
Bar(name: string): void
{
var x = name;
}
FooBar(): void
{
}
}
Using the typescript.js or something, is it possible to list all methods of the class Foo? How?
If possible I would like to do that without having to compile and run the Javascript. If there is no way I will try my luck with some regex...