結果 : typescript function return type or null