Open nmorozov opened 4 years ago
Thanks! Provide your packages versions please.
Thanks! Provide your packages versions please.
You can reproduce this bug by change "@angular/core" to "7.2.14" version at https://stackblitz.com/edit/ngx-dadata?file=package.json
My packages:
"@angular/animations": "^7.0.3",
"@angular/cdk": "^7.0.4",
"@angular/common": "7.0.3",
"@angular/compiler": "7.0.3",
"@angular/core": "^7.2.14",
"@angular/forms": "7.0.3",
"@angular/http": "7.0.3",
"@angular/material": "^7.0.4",
"@angular/material-moment-adapter": "7.0.4",
"@angular/platform-browser": "7.0.3",
"@angular/platform-browser-dynamic": "7.0.3",
"@angular/router": "7.0.3",
"@kolkov/ngx-dadata": "^0.4.0",
"@material/layout-grid": "0.41.0",
"@ngx-formly/core": "4.8.0",
"@ngx-formly/material": "4.8.0",
Any updates about this issue?
I had problem with
"ERROR in node_modules/@kolkov/ngx-dadata/lib/ngx-dadata.component.d.ts(37,9): error TS1086: An accessor cannot be declared in an ambient context. node_modules/@kolkov/ngx-dadata/lib/ngx-dadata.component.d.ts(38,9): error TS1086: An accessor cannot be declared in an ambient context.",
It's problem with typescript version less than 3.6.
For solve this i reduced version of this package:
npm install @kolkov/ngx-dadata@"<0.7"