結果 : check type of generic typescript