Skip to content

Commit

Permalink
Merge pull request #139 from Tommatheussen/patch-1
Browse files Browse the repository at this point in the history
Allow PixelValuesToColorFn to return null values
  • Loading branch information
DanielJDufour authored Dec 7, 2023
2 parents 6a947de + 50e5709 commit 5f32437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { Feature, FeatureCollection, Polygon, MultiPolygon } from "geojson"

export type MaskStrategy = "inside" | "outside";

export type PixelValuesToColorFn = (values: number[]) => string;
export type PixelValuesToColorFn = (values: number[]) => string | null;

export type DebugLevel = 0 | 1 | 2 | 3 | 4 | 5;

Expand Down

0 comments on commit 5f32437

Please sign in to comment.