Replies: 1 comment 2 replies
-
With today's update everthing is okay again. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I want to build a new release, but i' get always:
`ERROR in node_modules/terriajs/lib/Models/SearchProviders/CatalogSearchProvider.ts:174:11
TS2345: Argument of type 'unknown[]' is not assignable to parameter of type 'BaseModel[]'.
Type 'unknown' is not assignable to type 'BaseModel'.
172 | } else {
173 | await loadAndSearchCatalogRecursively(
ERROR in node_modules/terriajs/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts:152:9
TS18046: 'model' is of type 'unknown'.
150 |
151 | terria.modelValues.forEach((model) => {
ERROR in node_modules/terriajs/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts:153:45
TS2345: Argument of type 'unknown' is not assignable to parameter of type 'BaseModel'.
151 | terria.modelValues.forEach((model) => {
152 | if (model.uniqueId === GlobeOrMap.featureHighlightID) return;
ERROR in node_modules/terriajs/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts:154:29
TS2345: Argument of type 'unknown' is not assignable to parameter of type 'BaseModel'.
152 | if (model.uniqueId === GlobeOrMap.featureHighlightID) return;
153 | const force = terria.workbench.contains(model);
I have tried undoing all my changes, but the errors remain.
The release works afaik.
Do you have any idea where these errors are coming from?
Thank you so much,
Jörg
Beta Was this translation helpful? Give feedback.
All reactions