結果 : create type from array of strings typescript