結果 : typescript add function to existing type