0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-03 05:10:13 -05:00
This commit is contained in:
Alex Sánchez 2024-04-10 13:01:14 +02:00
parent d341eb3fbe
commit 741a3da077
No known key found for this signature in database
GPG key ID: 68A95170EEB87E16
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,7 @@
import { TextContent } from './textContent'; import { TextContent } from './textContent';
export type TextAttributes = { export type TextAttributes = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
id?: any; id?: any;
type: symbol; type: symbol;
content?: TextContent; content?: TextContent;

View file

@ -21,8 +21,8 @@ type Paragraph = {
direction?: string; direction?: string;
textDecoration?: string; textDecoration?: string;
textTransform?: string; textTransform?: string;
typographyRefId?: string | null; typographyRefId?: string;
typographyRefFile?: string | null; typographyRefFile?: string;
children: TextNode[]; children: TextNode[];
}; };
@ -37,8 +37,8 @@ type TextNode = {
direction?: string; direction?: string;
textDecoration?: string; textDecoration?: string;
textTransform?: string; textTransform?: string;
typographyRefId?: string | null; typographyRefId?: string;
typographyRefFile?: string | null; typographyRefFile?: string;
}; };
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any