diff --git a/package.json b/package.json index 9e6a8fc..704ae56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ironpipe", - "version": "0.0.4", + "version": "0.0.5", "author": "ci7lus <7887955+ci7lus@users.noreply.github.com>", "description": "TypeScript typed helpers for pipedream.", "repository": { diff --git a/src/component/options.ts b/src/component/options.ts index 4914fe3..2c02dbd 100644 --- a/src/component/options.ts +++ b/src/component/options.ts @@ -26,7 +26,7 @@ type ComponentThis = ThisType< $props: Props $emit: ( data: ObjectLiteral, - metadata?: ObjectLiteral & { id: string } // metadata requires id + metadata?: ObjectLiteral & { id: any } // metadata requires id ) => void } & Props & Methods &