Typescript Interface With Functions In Matlab