結果 : typescript define custom type