Typically I have been declaring a map in this fashion because I need it to be empty
var myMap: mutable.Map[String, ListBuffer[Objects]] = mutable.Map[String, ListBuffer[Objects]]()
The object type signature is long so I am trying to declare my own type alias as such in a package object like below.
type MyMapType = mutable.Map[String, ListBuffer[Objects]]
The problem is when I try to declare my map with the alias it doesn't seem to work.
var myMap: MyMapType = MyMapType()
I get an error saying
Expression of type ListBuffer[Objects] doesn't conform to expected type MyPackageObject.MyMapType