Skip to content

Commit

Permalink
doc: fix example code
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#657
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
Marlyfleitas committed Jan 30, 2020
1 parent c20af78 commit aea6652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/async_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ The following code shows an example of how to create and use an `Napi::AsyncWork
// Include EchoWorker class
// ..

use namespace Napi;
using namespace Napi;

Value Echo(const CallbackInfo& info) {
// You need to validate the arguments here.
Expand Down

0 comments on commit aea6652

Please sign in to comment.