Closed quedicesebas closed 4 years ago
which version are u using ?
Hi, I'm getting the same error on version 4.0.1.
error TS2339: Property 'forRoot' does not exist on type 'typeof MatGoogleMapsAutocompleteModule'.
26 MatGoogleMapsAutocompleteModule.forRoot(),
Try removing .forRoot() - it seems the documentation is a bit outdated.
yes! ForRoot does not exists anymore! I've just updated the readme! thank you!
Bug Report or Feature Request (mark with an
x
)Versions
3.2.1
Repro steps
Install and import like docs says:
The log given by the failure
Property 'forRoot' does not exist on type 'typeof MatGoogleMapsAutocompleteModule'.
Mention any other details that might be useful