chore(types): cleanup
This commit is contained in:
+1
-1
@@ -26,9 +26,9 @@ export interface Node<T = any> {
|
|||||||
zIndex?: number;
|
zIndex?: number;
|
||||||
extent?: 'parent' | CoordinateExtent;
|
extent?: 'parent' | CoordinateExtent;
|
||||||
expandParent?: boolean;
|
expandParent?: boolean;
|
||||||
|
positionAbsolute?: XYPosition;
|
||||||
|
|
||||||
// only used internally
|
// only used internally
|
||||||
positionAbsolute?: XYPosition;
|
|
||||||
[zSymbol]?: number;
|
[zSymbol]?: number;
|
||||||
[handleBoundsSymbol]?: NodeHandleBounds;
|
[handleBoundsSymbol]?: NodeHandleBounds;
|
||||||
[isParentSymbol]?: boolean;
|
[isParentSymbol]?: boolean;
|
||||||
|
|||||||
+1
-1
@@ -41,6 +41,6 @@ export const getBoundsofRects = (rect1: Rect, rect2: Rect): Rect =>
|
|||||||
|
|
||||||
export const isNumeric = (n: any): n is number => !isNaN(n) && isFinite(n);
|
export const isNumeric = (n: any): n is number => !isNaN(n) && isFinite(n);
|
||||||
|
|
||||||
export const handleBoundsSymbol = Symbol('handleBound');
|
export const handleBoundsSymbol = Symbol('handleBounds');
|
||||||
export const zSymbol = Symbol('z');
|
export const zSymbol = Symbol('z');
|
||||||
export const isParentSymbol = Symbol('isParent');
|
export const isParentSymbol = Symbol('isParent');
|
||||||
|
|||||||
Reference in New Issue
Block a user