I've installed it and then I try to import it in my React js app with
import projection from '@arcgis/core/geometry/projection'
But I get an error message :
Attempted import error: '@arcgis/core/geometry/projection' does not contain a default export (imported as 'projection').
I don't know how to resolve the thing, when going to "projection.d.ts" there was a line
export = projection
That I tried to correct to
export default projection;
But it changed nothing and I'm not really aware of ts yet.
Thanks for your replies !
Solved! Go to Solution.