function setDefaultCollectionType(type) {
  _defaultType = _toTypeArray(type);
}
Sets the default collection type. In case a collection is created form an
empty set of paths and no type is specified, we return a collection of this
type.

@ignore
@param {Type} type