You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which works OK. But when I took a look at the console there were many errors like this:
ERROR in /path//node_modules/@types/geodesy/latlon-spherical.d.ts(18,9):
18:9 An accessor cannot be declared in an ambient context.
16 | get lng(): number;
17 | set lng(lon: number);
> 18 | get longitude(): number;
| ^
19 | set longitude(lon: number);
20 | static get metresToKm(): number;
21 | static get metresToMiles(): number;
What can be happening? Could I be missing any step?
The text was updated successfully, but these errors were encountered:
Hi, I just started using this library with Vue and TypeScript.
Versions:
Node: v12.7.0
Vue: 2.6.11
TypeScript: 3.5.3
Following the instructions in the README.md, I installed (from package.json):
"geodesy": "^2.2.1"
"@types/geodesy": "^2.2.2"
"esm": "^3.2.25"
In one of my Vue components I did:
Which works OK. But when I took a look at the console there were many errors like this:
What can be happening? Could I be missing any step?
The text was updated successfully, but these errors were encountered: