Issue #20621:add type argument
Merge pull request #13 from garyhgohoos/20621

Issue #20621:add type argument