Typescript Add Property To Object Javascript Methods