angular-material-extensions / google-maps-autocomplete

Autocomplete input component and directive for google-maps built with angular and material design |
https://angular-material-extensions.github.io/google-maps-autocomplete
MIT License
169 stars 60 forks source link

ERROR in node_modules/@angular-material-extensions/google-maps-autocomplete/lib/directives/address-validator/mat-address-validator.directive.d.ts(12,9): error TS1086: An accessor cannot be declared in an ambient context. node_modules/@angular-material-extensions/google-maps-autocomplete/lib/directives/address-validator/mat-address-validator.directive.d.ts(13,9): error TS1086: An accessor cannot be declared in an ambient context. #292

Closed christianbustamante1992 closed 3 years ago

christianbustamante1992 commented 4 years ago

This error occurs when ng serve is run.

Angular CLI: 8.0.2 Node: 10.16.3 OS: win32 x64 Angular: 8.0.0

AnthonyNahas commented 4 years ago

may you provide more information regarding the issue ?

christianbustamante1992 commented 4 years ago

Good day.

Of course I tell you:

Install the library and everything you need as indicated on your page.

Then import the MatGoogleMapsAutocompleteModule module into the module I'm going to use it on, so far so perfect.

When I raise the server again with "ng serve" in the console it shows me the above mentioned error.

Maybe you have had this problem with these versions?

Thank you very much for your collaboration and contribution

I have the following versions installed:

Angular CLI: 8.0.2 Node: 10.16.3 OS: win32 x64 Angular: 8.0.0

AnthonyNahas commented 4 years ago

I need please the version of the library as well as your imports.

Please post your code to extract more information regarding the issue