Typescript Create Type From Interface