Skip to content

Commit

Permalink
chore: Add shameful type cast to please compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Jun 21, 2024
1 parent 35d3016 commit 683f598
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export abstract class BaseTool extends RenderTargetCommand {
if (!(customObject instanceof ThreeView)) {
return false;
}
return domainObjectPredicate(customObject.domainObject);
return domainObjectPredicate(customObject.domainObject as DomainObject);
};
return await viewer.getAnyIntersectionFromPixel(point, { predicate });
}
Expand Down

0 comments on commit 683f598

Please sign in to comment.