Typehinting Functions in Typescript Interfaces

interface SomeProps {
	onHide(): any;
	setUser(user:User): Promise<User>;
}