Skip to content

Commit

Permalink
feat: support generic data value for MAryTreeValuePositioned
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakas committed Jun 14, 2022
1 parent ef3014e commit 50577ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calculateCoordinates.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

import { MAryTree, MAryTreeKey, MAryTreeNode } from './MAryTree';

export type MAryTreeValuePositioned = {
export type MAryTreeValuePositioned<T = unknown> = {
x?: number;
y?: number;
prelimX?: number;
modifier?: number;
data: unknown;
data: T;
};

export type CalculateCoordinatesOptions = {
Expand Down

0 comments on commit 50577ad

Please sign in to comment.