Open minicatsCB opened 4 years ago
I'm not a TypeScript user, but this appears to be a widespread issue after TypeScript introduced a breaking change in a semver-minor release(!).
From what I can see, it may be resolved by changing the declaration for getters/setters in latlon-spherical.d.ts; e.g. (perhaps)
readonly longitude: number;
in place of
get longitude(): number;
– but as I'm not a TypeScript user, I can't be sure!
I suggest you approach the maintainers of the DefinitelyTyped geodesy types.
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?