Typescript Get Type By String