Skip to content

Commit eaf1424

Browse files
committed
Remove unused types
1 parent 0d3205c commit eaf1424

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/state.ts

-15
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,6 @@ export type SourceData = {
8686
labels?: ImageLabels;
8787
};
8888

89-
export type VivProps = ConstructorParameters<typeof MultiscaleImageLayer>[0];
90-
91-
export interface BaseLayerProps {
92-
id: string;
93-
contrastLimits: VivProps["contrastLimits"];
94-
colors: [r: number, g: number, b: number][];
95-
channelsVisible: NonNullable<VivProps["channelsVisible"]>;
96-
opacity: NonNullable<VivProps["opacity"]>;
97-
colormap: string; // TODO: more precise
98-
selections: number[][];
99-
modelMatrix: Matrix4;
100-
contrastLimitsRange: [min: number, max: number][];
101-
onClick?: (e: OnClickData) => void;
102-
}
103-
10489
type LayerType = "image" | "multiscale" | "grid";
10590
type LayerPropsMap = {
10691
image: ImageLayerProps;

0 commit comments

Comments
 (0)