From e78f36a609c9177e36fdd4e28a103acd422b4627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 29 Oct 2019 16:30:48 -0300 Subject: [PATCH] Fix return type of emit to use generics 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 72a1ed0..f355e07 100644 --- a/v1/index.d.ts +++ b/v1/index.d.ts @@ -40,7 +40,7 @@ export class Cloudevent { export class StructuredHTTPEmitter { public constructor(configuration?: any); - public emit(event: Cloudevent): Promise; + public emit(event: Cloudevent): Promise; } /**