From 50b0da117fca1f776c0f010f874cc2170e8775a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 29 Oct 2019 09:33:56 -0300 Subject: [PATCH] Return a new Cloudevent() ts impl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- v1/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/index.d.ts b/v1/index.d.ts index 4ea5df0..8585765 100644 --- a/v1/index.d.ts +++ b/v1/index.d.ts @@ -25,7 +25,7 @@ export interface Spec { * Function to create CloudEvents instances */ export function event(): Cloudevent { - return v1js.event(); + return new Cloudevent(); } export default Cloudevent;