Skip to content

Commit

Permalink
Allow PixelValuesToColorFn to return null values
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommatheussen authored Dec 7, 2023
1 parent 6a947de commit 50e5709
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 50e5709

Please sign in to comment.