support using TS generics to specify the feature geometry type #1042
Annotations
10 errors
src/context.ts#L72
Type 'Geometry' does not satisfy the constraint 'FeatureLike'.
|
src/layer/RLayerBaseVector.tsx#L31
Type 'Geometry' does not satisfy the constraint 'Feature<Geometry>'.
|
src/layer/RLayerBaseVector.tsx#L135
Type 'F' does not satisfy the constraint 'Feature<Geometry>'.
|
src/layer/RLayerBaseVector.tsx#L183
Conversion of type '{ layer: BaseVector<SourceVector<Geometry>, CanvasVectorLayerRenderer | CanvasVectorTileLayerRenderer | CanvasVectorImageLayerRenderer | WebGLPointsLayerRenderer>; ... 13 more ...; rFeature?: RFeature; }' to type 'RContextType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
src/layer/RLayerCluster.tsx#L16
Type 'F' does not satisfy the constraint 'Feature<Geometry>'.
|
src/layer/RLayerCluster.tsx#L32
Type 'F' does not satisfy the constraint 'FeatureLike'.
|
src/layer/RLayerCluster.tsx#L39
Type 'F[]' is not assignable to type 'Feature<Geometry>[] | Collection<Feature<Geometry>>'.
|
src/layer/RLayerHeatmap.tsx#L20
Interface 'RLayerHeatmapProps' incorrectly extends interface 'RLayerBaseVectorProps<Point>'.
|
src/layer/RLayerHeatmap.tsx#L20
Type 'Point' does not satisfy the constraint 'Feature<Geometry>'.
|
src/layer/RLayerHeatmap.tsx#L43
Type 'Point' does not satisfy the constraint 'FeatureLike'.
|
The logs for this run have expired and are no longer available.
Loading