Typescript Interface With Functions Synonym