You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the TypeScript example cannot be compiled. The error the compiler issues is:
Type '({ object }: HexagonLayerPickingInfo<BikeRack>) => string | undefined' is not assignable to type '(info: { color: Uint8Array<ArrayBufferLike> | null; layer: Layer<{}> | null; sourceLayer?: Layer<{}> | null | undefined; viewport?: Viewport | undefined; ... 8 more ...; pixelRatio: number; }) => TooltipContent'.
Type 'string | undefined' is not assignable to type 'TooltipContent'.
Type 'undefined' is not assignable to type 'TooltipContent'.ts(2322)
(using typescript 5.7.3)
The text was updated successfully, but these errors were encountered:
Link
https://deck.gl/docs/api-reference/aggregation-layers/hexagon-layer
Description
The line
in the TypeScript example cannot be compiled. The error the compiler issues is:
(using typescript 5.7.3)
The text was updated successfully, but these errors were encountered: