Typescript Export Class With Functions