--TEST-- Replacing object type with intersection type --FILE-- ===DONE=== --EXPECT-- ===DONE===