0
Fork 0
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:
Jordi Sala Morales 2024-04-10 11:39:19 +00:00
parent 37ba03ab2b
commit 5a003416bf
No known key found for this signature in database
GPG key ID: C5127140107F55FD
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,4 @@
import { Point } from './utils/point';
import { Selrect } from './utils/selrect';
export type Shape = {
@ -7,8 +8,7 @@ export type Shape = {
componentRoot?: boolean;
shapeRef?: string;
selrect?: Selrect;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
points?: any;
points?: Point[];
blocked?: boolean;
collapsed?: boolean;
locked?: boolean;

4
src/ui/lib/types/utils/point.d.ts vendored Normal file
View file

@ -0,0 +1,4 @@
export type Point = {
x: number;
y: number;
};