Skip to content

Commit

Permalink
[website] Clean up TS types in 'plot' example (#8305)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Nov 22, 2023
1 parent 2c81ee9 commit 3041087
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/website/plot/plot-layer/axes-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export default class AxesLayer<DataT = any, ExtraPropsT extends {} = {}> extends
static layerName = 'AxesLayer';
static defaultProps = defaultProps;

// @ts-ignore
state!: Layer['state'] & {
models: [Model, Model];
modelsByName: {grids: Model; labels: Model};
Expand Down
1 change: 0 additions & 1 deletion examples/website/plot/plot-layer/plot-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export default class PlotLayer<DataT extends Vec3 = Vec3, ExtraPropsT extends {}
static layerName = 'PlotLayer';
static defaultProps = defaultProps;

// @ts-ignore
state!: CompositeLayer['state'] & {
xScale: ScaleLinear<number, number>;
yScale: ScaleLinear<number, number>;
Expand Down
1 change: 0 additions & 1 deletion examples/website/plot/plot-layer/surface-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export default class SurfaceLayer<
static defaultProps = defaultProps;
static layerName: string = 'SurfaceLayer';

// @ts-ignore
state!: Layer['state'] & {
model?: Model;
vertexCount: number;
Expand Down
4 changes: 0 additions & 4 deletions examples/website/plot/tsconfig.json

This file was deleted.

0 comments on commit 3041087

Please sign in to comment.