Rename just one of imported names with "using"

You shouldn’t get warnings if you say which point you want. E.g.,

using Luxor, OtherPackageThatExportsPoint
const Point = OtherPackageThatExportsPoint.Point
const LuxorPoint = Luxor.Point
2 Likes