Hi Cesium community,
I ran into a TypeScript build error that appears to come from @cesium/widgets typings:
After checking the declaration files, I found:
-
@cesium/widgets/index.d.tsimports PickId from@cesium/engine -
The same file also declares export function PickId(…)
-
@cesium/engine/index.d.tsalready exports PickId
So this looks like a duplicated declaration in generated typings. It is not Angular-specific, but it surfaced during Angular build/TypeScript checks.
GitHub issue for tracking:
https://github.com/CesiumGS/cesium/issues/13274
Environment:
-
@cesium/widgets:14.3.0 -
@cesium/engine:22.3.0 -
cesium:1.138.0 -
typescript:5.1.6 -
Angular:
16.2.x -
OS: Windows
Temporary workaround: skipLibCheck: true (or --skipLibCheck true) suppresses the error, but I’m looking for an official recommended approach.
Has anyone hit the same issue, and is there a preferred workaround until a fix is released?
Thanks!