I'm also having a trouble on migrating from old autocomplete to new one in my Angular project. There are big gaps between documentation and reality. For example, on documentation google.maps.places.PlaceAutocompleteElement()
does not accept any parameters but compiler complaining that constructor expects options: PlaceAutocompleteElementOptions
parameter.
I'm now wondering if you found already any solution yet?