diff --git a/website/versioned_docs/version-v2.2.0/reference/runtime/events.mdx b/website/versioned_docs/version-v2.2.0/reference/runtime/events.mdx index e8082b1a1..94bd2a2fc 100644 --- a/website/versioned_docs/version-v2.2.0/reference/runtime/events.mdx +++ b/website/versioned_docs/version-v2.2.0/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 function(optionalData?: any))`