fix: Collection.map iterator return `any` rather than `any`
Merge pull request #3230 from davetayls/master

fix #3213: Collection.map iterator return `any` rather than `any`