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
Hi,
I am using Angular 9+ with angular cli. After installed the types and geodesy I could not import and and use the library classes.
For example: import { LatLon as LL} from 'geodesy/latlon-spherical';
Or import { LatLon as LL} from 'geodesy/latlon-spherical.js';
Compile error:
error TS2614: Module '"../../../../node_modules/@types/geodesy/latlon-spherical"' has no exported member 'LatLon'. Did you mean to use 'import LatLon from "../../../../node_modules/@types/geodesy/latlon-spherical"' instead?
My questions are:
Has anyone used the version 2 in Angular apps normally?
Does it require to use Babeljs to transpile to es5 modules to use in angular cli apps?
The text was updated successfully, but these errors were encountered:
Hi,
I am using Angular 9+ with angular cli. After installed the types and geodesy I could not import and and use the library classes.
For example:
import { LatLon as LL} from 'geodesy/latlon-spherical';
Or
import { LatLon as LL} from 'geodesy/latlon-spherical.js';
Compile error:
error TS2614: Module '"../../../../node_modules/@types/geodesy/latlon-spherical"' has no exported member 'LatLon'. Did you mean to use 'import LatLon from "../../../../node_modules/@types/geodesy/latlon-spherical"' instead?
My questions are:
The text was updated successfully, but these errors were encountered: