Typescript Add Function To Module Manager