I\'m trying to write a js file that is annotated by a d.ts file. In one of the js files I have a class that extends another class and it overrides and overloads a function f