結果 : make type optional typescript