From 33eb26c1e8ecdb03e9e190438a121ce1ae2fd642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 12 May 2021 02:35:34 +0200 Subject: [PATCH] doc: fix typo in code example --- doc/async_worker_variants.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/async_worker_variants.md b/doc/async_worker_variants.md index 54007762c..4f1762177 100644 --- a/doc/async_worker_variants.md +++ b/doc/async_worker_variants.md @@ -375,7 +375,7 @@ const exampleCallback = (errorResponse, okResponse, progressData) => { // ... }; -// Call our native addon with the paramters of a string and a function +// Call our native addon with the parameters of a string and a function nativeAddon.echo("example", exampleCallback); ``` @@ -550,7 +550,7 @@ const onProgressCallback = (num) => { // ... }; -// Call our native addon with the paramters of a string and three callback functions +// Call our native addon with the parameters of a string and three callback functions nativeAddon.echo("example", onErrorCallback, onOkCallback, onProgressCallback); ```