結果 : typescript conditional types based on string value