結果 : typescript define new error type