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';
|
||||
|
||||
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
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