diff --git a/docs/tutorial/message-ports.md b/docs/tutorial/message-ports.md index 54ac0f9fa1cc..4a01a698955b 100644 --- a/docs/tutorial/message-ports.md +++ b/docs/tutorial/message-ports.md @@ -150,7 +150,7 @@ renderer. ```js title='renderer.js (Renderer Process)' @ts-nocheck // elsewhere in your code to send a message to the other renderers message handler -window.electronMessagePort.postmessage('ping') +window.electronMessagePort.postMessage('ping') ``` ### Worker process