Skip to content

Commit 78a6570

Browse files
authored
doc: fix typo in code example (#997)
1 parent da3bd57 commit 78a6570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/async_worker_variants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ const exampleCallback = (errorResponse, okResponse, progressData) => {
375375
// ...
376376
};
377377
378-
// Call our native addon with the paramters of a string and a function
378+
// Call our native addon with the parameters of a string and a function
379379
nativeAddon.echo("example", exampleCallback);
380380
```
381381

@@ -550,7 +550,7 @@ const onProgressCallback = (num) => {
550550
// ...
551551
};
552552
553-
// Call our native addon with the paramters of a string and three callback functions
553+
// Call our native addon with the parameters of a string and three callback functions
554554
nativeAddon.echo("example", onErrorCallback, onOkCallback, onProgressCallback);
555555
```
556556

0 commit comments

Comments
 (0)