結果 : typescript return type string or null