Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Dec 20, 2024
1 parent 7000e7a commit c6afe15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ export type PickingInfoPerView = Record<
>;

function hasPropertiesArray(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
obj: any
): obj is { properties: PropertyDataType[] } {
return obj && Array.isArray(obj.properties);
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
function hasSingleProperty(obj: any): obj is { propertyValue: number } {
return (
obj && "propertyValue" in obj && typeof obj.propertyValue === "number"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
export { useMultiViewPicking } from './useMultiViewPicking';
export type { UseMultiViewPickingProps, UseMultiViewPickingReturnType } from './useMultiViewPicking';
export type { PickingInfoPerView, LayerPickingInfo} from './MultiViewPickingInfoAssembler';
export { useMultiViewPicking } from "./useMultiViewPicking";
export type {
UseMultiViewPickingProps,
UseMultiViewPickingReturnType,
} from "./useMultiViewPicking";
export type {
PickingInfoPerView,
LayerPickingInfo,
} from "./MultiViewPickingInfoAssembler";

0 comments on commit c6afe15

Please sign in to comment.