Locator.prototype.map
Maps the locator using the provided mapper.
class Locator { map<To>(mapper: Mapper<T, To>): Locator<To>; }
Returns:
Locator<To>