Typescript Add Function To Interface