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 committed Apr 2, 2024
1 parent 28784c5 commit 9117414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/src/lib/picking/pick-info.ts
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 9117414

Please sign in to comment.