I am currently getting this error while trying to pass the Place paramerer to the Google Maps auto complete view controller.

> 
> Default argument value of type 'String' cannot be converted to type
>  'GMSAutocompleteViewController.Type'
> 
> 
> 

```
func viewController(viewController: GMSAutocompleteViewController.Type = kGMSPlaceTypeLocality, didAutocompleteWithPlace place: GMSPlace) {

    let filter = GMSAutocompleteFilter()
    filter.type = .City    
}

```

I am following the documentation and it seems to be telling me to add the type to the AutoCompleteViewController and pass the parameters of the type which I did. You can check out the documentation here if you that will help. <https://developers.google.com/places/supported_types#table2>

Anybody know why this would be happening? Just getting familiar with Google APIs. Just tried adding a filter and still have no luck. Please help!