Skip to content

Commit

Permalink
add generic data types in GetPickingInfoParams (#8709)
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel authored and Pessimistress committed Apr 2, 2024
1 parent c4eb56e commit 8829144
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 8829144

Please sign in to comment.