mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-03 05:10:13 -05:00
add point
This commit is contained in:
parent
37ba03ab2b
commit
5a003416bf
2 changed files with 6 additions and 2 deletions
4
src/ui/lib/types/shape.d.ts
vendored
4
src/ui/lib/types/shape.d.ts
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
import { Point } from './utils/point';
|
||||||
import { Selrect } from './utils/selrect';
|
import { Selrect } from './utils/selrect';
|
||||||
|
|
||||||
export type Shape = {
|
export type Shape = {
|
||||||
|
@ -7,8 +8,7 @@ export type Shape = {
|
||||||
componentRoot?: boolean;
|
componentRoot?: boolean;
|
||||||
shapeRef?: string;
|
shapeRef?: string;
|
||||||
selrect?: Selrect;
|
selrect?: Selrect;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
points?: Point[];
|
||||||
points?: any;
|
|
||||||
blocked?: boolean;
|
blocked?: boolean;
|
||||||
collapsed?: boolean;
|
collapsed?: boolean;
|
||||||
locked?: boolean;
|
locked?: boolean;
|
||||||
|
|
4
src/ui/lib/types/utils/point.d.ts
vendored
Normal file
4
src/ui/lib/types/utils/point.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export type Point = {
|
||||||
|
x: number;
|
||||||
|
y: number;
|
||||||
|
};
|
Loading…
Reference in a new issue