Made typescripttype a generated named type