I have an interface which defines MyType as containing some functions:
MyType
interface MyType { function1(): void, function2(): void, }