return type hint for endUse()
Merge pull request #571 from gharlan/endUse-return-type

return type hint for endUse()