mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 05:33:02 -05:00
fix text
This commit is contained in:
parent
d341eb3fbe
commit
741a3da077
2 changed files with 5 additions and 4 deletions
1
src/ui/lib/types/text/textAttributes.d.ts
vendored
1
src/ui/lib/types/text/textAttributes.d.ts
vendored
|
@ -1,6 +1,7 @@
|
|||
import { TextContent } from './textContent';
|
||||
|
||||
export type TextAttributes = {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
id?: any;
|
||||
type: symbol;
|
||||
content?: TextContent;
|
||||
|
|
8
src/ui/lib/types/text/textContent.d.ts
vendored
8
src/ui/lib/types/text/textContent.d.ts
vendored
|
@ -21,8 +21,8 @@ type Paragraph = {
|
|||
direction?: string;
|
||||
textDecoration?: string;
|
||||
textTransform?: string;
|
||||
typographyRefId?: string | null;
|
||||
typographyRefFile?: string | null;
|
||||
typographyRefId?: string;
|
||||
typographyRefFile?: string;
|
||||
children: TextNode[];
|
||||
};
|
||||
|
||||
|
@ -37,8 +37,8 @@ type TextNode = {
|
|||
direction?: string;
|
||||
textDecoration?: string;
|
||||
textTransform?: string;
|
||||
typographyRefId?: string | null;
|
||||
typographyRefFile?: string | null;
|
||||
typographyRefId?: string;
|
||||
typographyRefFile?: string;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
|
Loading…
Reference in a new issue