标签: angular geolocation
尽管导入了geolib却找不到。有什么我想念的吗?
import * as x from 'geolib'; type geolibType = typeof geolib; const theGeolib = (x as any).default as geolibType; export { theGeolib as geolib };
找不到名称'geolib'的错误是相同的。
程序包链接; https://www.npmjs.com/package/geolib