diff --git a/packages/manipulator/src/index.ts b/packages/manipulator/src/index.ts index 0cbb090a..5d67d046 100644 --- a/packages/manipulator/src/index.ts +++ b/packages/manipulator/src/index.ts @@ -228,7 +228,7 @@ export const organize = async ( break; default: - throw new Error(`[@pdfme/manipulator] Unknown action type: ${(action as any).type}`); + throw new Error(`[@pdfme/manipulator] Unknown action type: ${(action as { type: string }).type}`); } }