mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
fix
This commit is contained in:
parent
8cd89b2bbf
commit
d341eb3fbe
1 changed files with 4 additions and 1 deletions
5
src/ui/lib/penpot.d.ts
vendored
5
src/ui/lib/penpot.d.ts
vendored
|
@ -1,20 +1,23 @@
|
|||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { CircleShape } from './types/circle/circleShape';
|
||||
import { RectShape } from './types/rect/rectShape';
|
||||
import { TextShape } from './types/text/textShape';
|
||||
|
||||
export interface PenpotFile {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
asMap(): any;
|
||||
export(): void;
|
||||
addPage(name: string, options?: object): void;
|
||||
closePage(): void;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
addArtboard(artboard: any): void;
|
||||
closeArtboard(): void;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
addGroup(group: any): void;
|
||||
closeGroup(): void;
|
||||
createRect(rect: RectShape): void;
|
||||
createCircle(circle: CircleShape): void;
|
||||
createText(options: TextShape): void;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
createImage(image: any): void;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue