From d0bd849be61acb51c35d052e1dfa9d7b3d134337 Mon Sep 17 00:00:00 2001 From: Oussama Sethoum <88779394+oSethoum@users.noreply.github.com> Date: Mon, 16 Jan 2023 10:59:58 +0100 Subject: [PATCH] Update events.mdx (#2300) * Update events.mdx * Add doc update to docs dir Co-authored-by: Lea Anthony --- website/docs/reference/runtime/events.mdx | 2 +- .../versioned_docs/version-v2.3.1/reference/runtime/events.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/reference/runtime/events.mdx b/website/docs/reference/runtime/events.mdx index 354a68f4c..138e03d73 100644 --- a/website/docs/reference/runtime/events.mdx +++ b/website/docs/reference/runtime/events.mdx @@ -44,4 +44,4 @@ JS: `EventsOnMultiple(eventName string, callback function(optionalData?: any), c This method emits the given event. Optional data may be passed with the event. This will trigger any event listeners. Go: `EventsEmit(ctx context.Context, eventName string, optionalData ...interface{})`
-JS: `EventsEmit(ctx context, optionalData function(optionalData?: any))` +JS: `EventsEmit(eventName: string, ...optionalData: any)` diff --git a/website/versioned_docs/version-v2.3.1/reference/runtime/events.mdx b/website/versioned_docs/version-v2.3.1/reference/runtime/events.mdx index 354a68f4c..138e03d73 100644 --- a/website/versioned_docs/version-v2.3.1/reference/runtime/events.mdx +++ b/website/versioned_docs/version-v2.3.1/reference/runtime/events.mdx @@ -44,4 +44,4 @@ JS: `EventsOnMultiple(eventName string, callback function(optionalData?: any), c This method emits the given event. Optional data may be passed with the event. This will trigger any event listeners. Go: `EventsEmit(ctx context.Context, eventName string, optionalData ...interface{})`
-JS: `EventsEmit(ctx context, optionalData function(optionalData?: any))` +JS: `EventsEmit(eventName: string, ...optionalData: any)`