From 849d527b4449bad82b5c62741d821cd9a7773e1f Mon Sep 17 00:00:00 2001 From: ci7lus <7887955+ci7lus@users.noreply.github.com> Date: Thu, 13 Aug 2020 17:09:06 +0900 Subject: [PATCH] :bug: Eliminate unnecessary constraints of the id in emit --- package.json | 2 +- src/component/options.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 &