diff --git a/website/versioned_docs/version-v2.0.0/reference/runtime/events.mdx b/website/versioned_docs/version-v2.0.0/reference/runtime/events.mdx index 8bfd346a5..906689737 100644 --- a/website/versioned_docs/version-v2.0.0/reference/runtime/events.mdx +++ b/website/versioned_docs/version-v2.0.0/reference/runtime/events.mdx @@ -41,4 +41,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))`