Skip to content

Commit

Permalink
add generic data types in GetPickingInfoParams
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Apr 2, 2024
1 parent 2992b36 commit db7fbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/src/lib/picking/pick-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export type PickingInfo<DataT = any, ExtraInfo = {}> = ExtraInfo & {
pixelRatio: number;
};

export interface GetPickingInfoParams {
info: PickingInfo;
export interface GetPickingInfoParams<DataT = any, ExtraInfo = {}> {
info: PickingInfo<DataT, ExtraInfo>;
mode: string;
sourceLayer: Layer | null;
}
Expand Down

0 comments on commit db7fbb4

Please sign in to comment.