From bb4d0322d8670f0602aebf0eadaf74773c8ec7ab Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Mon, 9 Feb 2026 15:41:25 +0100 Subject: [PATCH] :construction: Temporarily add ts-ignore statements This shall be reverted once the new API types are published --- mcp/packages/plugin/src/PenpotUtils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mcp/packages/plugin/src/PenpotUtils.ts b/mcp/packages/plugin/src/PenpotUtils.ts index 61477a185d..602ac3327c 100644 --- a/mcp/packages/plugin/src/PenpotUtils.ts +++ b/mcp/packages/plugin/src/PenpotUtils.ts @@ -431,6 +431,7 @@ export class PenpotUtils { */ public static findTokensByName(name: string): any[] { const tokens: any[] = []; + // @ts-ignore const tokenCatalog = penpot.library.local.tokens; for (const set of tokenCatalog.sets) { @@ -451,6 +452,7 @@ export class PenpotUtils { * @returns The first matching token, or null if not found */ public static findTokenByName(name: string): any | null { + // @ts-ignore const tokenCatalog = penpot.library.local.tokens; for (const set of tokenCatalog.sets) { @@ -471,6 +473,7 @@ export class PenpotUtils { * @returns The TokenSet containing this token, or null if not found */ public static getTokenSet(token: any): any | null { + // @ts-ignore const tokenCatalog = penpot.library.local.tokens; for (const set of tokenCatalog.sets) { @@ -490,6 +493,7 @@ export class PenpotUtils { */ public static tokenOverview(): Record> { const overview: Record> = {}; + // @ts-ignore const tokenCatalog = penpot.library.local.tokens; for (const set of tokenCatalog.sets) {