結果 : typescript specify error type